LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

odd shift in horizontal plot scale

After the zillionth edit of our complex data acq. VI, the 4 plots that show a variety of measured parameters vs time all suffered a mysterious shift in their horizontal trace length. The traces no longer fill the plot area from left edge to right edge as they always have in the past. Now the traces end near the right edge of the plot (we're using strip chart updating) on a vertical line that looks like a grid line but isn't one of them.

I managed to select the horizontal scales for each of the plots using an empirically-discovered method (open the Xscale formatting dialog and then just OK out of it....leaves the X-scale alone selected so you can move it) and found them off-center. I centered each scale and now the traces are centered in the plot area but they still are not as long as the plot area. In other words, there's space on the left AND on the right now.

All four of these plots have their Xscale.minimum and Xscale.maximum set to the same values by the program. All four plots have the same too-short traces problem now.

Any ideas on how to correct this?

Thanks

Scott Little
little@earthtech.org
Scott Little
1406 Old Wagon Road
Austin TX 78746
little@earthtech.org
Message 1 of 4
(2,878 Views)
Me again....just providing an image of the problem:

image of horizontal plot problem
Scott Little
1406 Old Wagon Road
Austin TX 78746
little@earthtech.org
Message 2 of 4
(2,862 Views)
I have also met this bug from time to time. Try a right-click on the indicator, then Advanced > Reset Scale Layout ...

Hope this works !

CC
Chilly Charly    (aka CC)
Message 3 of 4
(2,856 Views)
Bless your heart, Charly, that did it! And it also fixed another annoyance which was that some of my labels for the Y-scales had "slipped" off center and, in some cases, were actually hanging down below the scale itself. Now they're nicely centered....and my traces extend over the full horizontal range of the plot window again.

Thanks!

P.S. the Reset Scale Layout really does reset everything so you have to reposition secondary Y scales, remove unwanted scales (my 4 plots are packed tightly together so they can share one X-scale), etc. ....but it's worth it...!
Scott Little
1406 Old Wagon Road
Austin TX 78746
little@earthtech.org
Message 4 of 4
(2,851 Views)