LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graphs

corned_0-1729582450213.png

So i made this simple program to show a linear graph. Is there any way to make the line infinitely long but by using just 2 points? Also is there a way to move the graph and zoom in without using those buttons besides the graph, just using my mousepad to move around and my 2 fingers to zoom?

0 Kudos
Message 1 of 2
(142 Views)

Hi corned,

 


@corned wrote:

So i made this simple program to show a linear graph.


Correct wording: You created a VI to show a plot on a XY graph. The plot contains (just) 2 points.

 


@corned wrote:

Is there any way to make the line infinitely long but by using just 2 points?


Re-read my corrected wording, then think about this question again…

 

The graph shows the plot as defined by you. It will plot the points and draw an interpolation line between those points, when you configure the plot properties correctly. There is no option to plot anything that doesn't belong to your plot. When you need a longer line then you need to define the plot accordingly. On the other hand you cannot plot "infinite" lines…

 


@corned wrote:

Also is there a way to move the graph and zoom in without using those buttons besides the graph, just using my mousepad to move around and my 2 fingers to zoom?


Probably, but not by using "built in features in LabVIEW".

You can create a program to detect such user actions and manipulate the graph display (by changing the axis values) as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(132 Views)