01-17-2011 03:05 PM
I have written a VI to control an LCR meter and perform sweep functions. I have two x-y graphs on my front panel (one for each of 2 measured parameters). The VI is designed with a button to take a measurement, plot the data, and then wait for another event (like write data, clear plot, or measure again). The user can take simultaneous measurements and these are plotted on top of the data already there in the same x-y graphs (using an array of clusters with shift registers). There is no limit on how many sets of data can be on the x-y graph.
Now, my issue is in formatting the plot lines (color, thickness, marker type). I can fix the first plot line by adjusting the parameters of the x-y graph. However, I also want to control the format of all consecutive plot lines. How can I do this for an arbitrary number of lines? The main thing I want to do is to have all of them show the square marker type (the default is no marker type, just a line).
Thanks!
01-18-2011 02:18 AM - edited 01-18-2011 02:20 AM
Hi maximum23,
You can use properties of plot to format the plot lines. You just have to select Active plot using property and then select color and line width etc..
You can define color and width etc parameter by asking user or you can just make them default.