10-22-2024 02:36 AM
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?
10-22-2024 02:55 AM - edited 10-22-2024 02:56 AM
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…