From: mdstitt on
Hello,
 
I have a need to plot a curve on an X-Y graph which is Voltage (Vsd) vs Current (Isd). After the first plot, I need to set another voltage (Vg) to a new level and repeat the plot. I would like to do this without erasing the original plot so I can generate a family of curves. Currently, I am using one trace on the graph which traces to zero at the beginning of the next plot. I need to create an entirely new plot on the graph instead of the original going to zero at the beginning of each plot. I cannot plot all curves at the same time because the voltage (Vg) level will change with each curve. Any suggestions will be appreciated.
 
Thanks,
Mark
From: Anthony de Vries on
Maybe I misunderstand the question...
Multiple plots on the XY-graph, means you need to put them in an array.  If you don't have all the graphs at once, then you could simply build the array dynamically.   I.e. you put the array in a shift register, and add elements (measurements) to it as you go.
See the attached vi for an example.


multi-XYgraph.vi:
http://forums.ni.com/attachments/ni/170/162450/1/multi-XYgraph.vi
From: pawel on
put all XY plots into the array.
 
You can create another scale as well by right clicking on the scale and selecting duplicate.
 
take care
Pawel
 
From: Dennis Knutson on
Here's a simple example. Since you haven't posted your code, I can only guess what you're doing wrong. With each iteration, you should be creating
a cluster with an x and y array and then use the build array to create a 1D cluster array.


multi xy.vi:
http://forums.ni.com/attachments/ni/170/162486/1/multi xy.vi
 | 
Pages: 1
Prev: graph
Next: RS485 communication with 9 databits