LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

4-quadrant plot (graph with axes passing through centre)

Lynn used an extra plot set up with no lines and crosses as plot points to mark the axis. The VI plots a number of points on the axis - putting the tick marks in. A good solution, though it does mean plotting the tick marks every time the graph is updated.

 

There are other possibilities, but going into .NET or ActiveX controls is a discussion in itself.

 

Rob

 

 

0 Kudos
Message 11 of 12
(587 Views)

Rob,

 

Thanks for adding that explanation.

 

The X-axis marker is Plot 1. The X values are generated by the Ramp Pattern VI with the endpoints determined by the Minimum and Maximum controls. The number of points is set by the X-axis points control.  In looking at it this morning it appears that I did not set defaults before posting. Try Minimum = -500, Maximum = 500, X-axis points = 11, and Number of Samples = 1000.

 

If you do not want any of the standard point styles as your markers, then you need to plot short segments of lines and things get much messier.

 

Another possibility is to use the picture control to display your axes in any manner you desire.  Make the graph transparent and put it in front of the picture control.  This is a lot of work but it should be possible.

 

Lynn

0 Kudos
Message 12 of 12
(577 Views)