LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic zoom in

Solved!
Go to solution

Dears,

 

I would be grateful if someone can help me to know how to do automatic zoom in when I am running the code without using the picture's tools. I've tried to find any helpful property in the property node but I couldn't find something can help me to solve this issue. Any support? thanks in advance

Download All
0 Kudos
Message 1 of 12
(4,612 Views)

Not sure what you mean by "automatic" zoom in.

But if you turn OFF AutoScaling (both X and Y), then you can set the XSCALE.MIN, XSCALE.MAX, YSCALE.MIN, and YSCALE.MAX from properties.  The graph will then show that range.

 

From there you can implement some sort of zoom if you want - have a center point and a smaller and smaller deviation to provide a zooming-in appearance.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 12
(4,564 Views)

Hi Steve,

Thanks for your feedback, Can you please tell me how to turn off the autoscaling? Thanks in advance


Regards

0 Kudos
Message 3 of 12
(4,508 Views)

Did you try looking in the properties of the graph?

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 4 of 12
(4,503 Views)

yeah, I haven't seen something related to auto scale, Have you?

0 Kudos
Message 5 of 12
(4,500 Views)
Solution
Accepted by topic author Al-rawachy

It's under autoscale.

 

autoscale.png


GCentral
Message 6 of 12
(4,493 Views)

OOh, thank you, I thought you mean inside the property node!! 

0 Kudos
Message 7 of 12
(4,489 Views)

Excuse me, I wonder if there is a way to enter the values of zooming scale for x and y coordinates by using the code rather than doing it manually? Thanks in advance 

0 Kudos
Message 8 of 12
(4,484 Views)
Solution
Accepted by topic author Al-rawachy

To change the limits of the scale, you can use the property node with the entries 'XScale.Maximum' or 'YScale.Minimum' and so on. They're under X Scale/Y Scale > Range > Minimum/Maximum.

 

This forum post describes autoscaling programmatically. 10degree's post seems particularly helpful. I'm sorry for the picture earlier - I had thought you were trying to avoid property nodes. My mistake!

 

 


GCentral
0 Kudos
Message 9 of 12
(4,478 Views)

you are amazing. thank you

0 Kudos
Message 10 of 12
(4,474 Views)