11-09-2009 09:55 AM
Hello I want to be able to plot a graph that displays "steps"
I am using the Plot Waveform.vi still went I change the waveform plot type to squares (which I think is the control to change) nothing happens.
Please see the attached pic of what I am getting right now, thanks
I will also like to change the x axis to display 0 to 10 instead of -100 to 0, I have tried changing the minimum and maximum values for x from the cartesian axis attributes, but then the graph goes out of range.
Solved! Go to Solution.
11-09-2009 10:10 AM
11-09-2009 10:17 AM
Bebeto wrote:Hello I want to be able to plot a graph that displays "steps
Do you mean a bar plot?
I am using the Plot Waveform.vi still went I change the waveform plot type to squares (which I think is the control to change) nothing happens.
Please see the attached pic of what I am getting right now, thanks
That creates a picture plot. Is there a particular reason you're using a picture plot as opposed to a regular graph/chart? Also, that setting changes the plot point itself, not the graph type. In other words, that setting means that each point is drawn as a square, which is what your picture shows.
I will also like to change the x axis to display 0 to 10 instead of -100 to 0, I have tried changing the minimum and maximum values for x from the cartesian axis attributes, but then the graph goes out of range.
Then you need to change the data. Your data clearly shows X values in the range of -80 to -20. Obviously, if you change the X range to 0 to 10 the graph will go out of range. How can the plot show points that are not in the range you've specified?
11-09-2009 10:19 AM
do you mean on the Front panel?
I have attached the VI for a better understanding
11-09-2009 10:34 AM
Hello Smercurio,
For the data range I understand what you are saying, How can I do then to "fix" the values on the x axis to display something else. What I mean is to have the data as it is but display something else, like have the -100 be equal to zero, the -90 = 1, -80 = 2 and so forth?
and for the reason I am using this picture plot is because this is legacy Software and I am making some modifications to it, but if you can give me suggestions I will really appreciate them.
and for the way that I want it to be plot or graph is to be seen as stairs
11-09-2009 10:53 AM
Hello Smercurio,
This is what I get from the bar plot (see attached), I will like to have it kind of like that but with the bars below, inverse.
11-09-2009 11:17 AM
11-09-2009 11:49 AM
Hello Dennis,
where do I go to change the "fill base line" option? thanks in advance
and for the offset is that in the cartesian axis attributes?
11-09-2009 11:49 AM
Hello Dennis,
where do I go to change the "fill base line" option? thanks in advance
and for the offset is that in the cartesian axis attributes?
11-09-2009 11:55 AM