LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

picture plot

Ok,
I've managed to generate a XY picture plot of all four quadrants.
This plot will allow me to select, 1, 2, or all four quadrants.
 
When doing so, how can i control the gridlines?
 
I want the gridlines to only focus on whole numbers, not decimal.
Also, how can i control the picture plot size on the front panel through the block diagram?
0 Kudos
Message 1 of 3
(2,720 Views)
Here's the vi...
 
 
Thanks!
0 Kudos
Message 2 of 3
(2,721 Views)
Hi, FredFred.

It looks like you're using a modified version of the internal VI PlotXY. Although I can't really tell you how to write your code (or modify an existing VI to give it extra functionality), I've spent some time looking at this, and I've found some useful information. From the LabVIEW help on PlotXY:

"This VI ignores the values of the x minimum, x maximum, y minimum, and y maximum subparameters of the cartesian axis attributes input. The VI ignores the subparameters because it automatically scales the axes. Use the Plot Multi-XY VI if you do not want to use automatic scaling."

By tweaking some of the inputs in Plot Multi-XY -- notably the minima, maxima, precision, and dimensions -- I was able to create a wide variety of grid configurations. I recommend using the Plot Multi-XY as your starting point and making your modifications from there. Hope this helps!

Sarah K.
Search PME
National Instruments
Message 3 of 3
(2,693 Views)