LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scale of graph does not line up with image

Hello,

I have a problem with a graph control. The scale does not line up with the image. See attached jpg file. The 0 marker does not line up with the edge of the image. I don't know how I ended up this way, probably after some zooming actions. How can I get them to line up again?

Thanks.
0 Kudos
Message 1 of 5
(2,695 Views)
Try this: Right-click on your graph and select "Advanced...Reset Scale Layout". 🙂

Any improvement?

(Also see e.g. my answer in this old thread for a similar case.)

Message Edited by altenbach on 05-22-2005 01:07 AM

0 Kudos
Message 2 of 5
(2,683 Views)
Thanks for your advice. Unfortunatly, I am using LV 6.1. and that option is not available. Do you know how to fix it in LV 6.1?

Thanks.
0 Kudos
Message 3 of 5
(2,662 Views)
Hi JE,

Have you tried just replacing the graph with a new one from the palette? If you don't want to do this because you are using property nodes for your graph, you can do the following:

1) Put a new graph on the front panel
2) On your property nodes for the old graph, right-click and choose Link To->"your new graph"

Hope this helps,
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 4 of 5
(2,648 Views)
Hi Travis,

Thanks for your response. I have tried to replace the graph and it works, however, it is tedious, since I have to readjust size, color, scale, ... of the graph.

But I think I found out the reason or at least one reason that the scale gets misaligned in the first place. I noticed that it happenes whenever I use the zoom function and then apply Ctrl + Z (UNDO) to get back to the original zoom. I think the best solution for me is to just try to avoid the graph to get misaligned in the first.

Please let me know if you have any further ideas.

Thanks,

Jerome.
0 Kudos
Message 5 of 5
(2,641 Views)