Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67304

Y-axis maximum after restore from zoom

$
0
0

I am using LV 12.0 and I created a raster plot in which on the Y-axis I have values from 1 to 9 indicating each a different channel.


Because the dots related to the uppermost channel would be very close to the upper edge of the graph, I

programmatically set the Yscale.range.maximum to be the number of channels +1 (=10). In this way there is more room above the last channel line.


However, when I resume from a  zoom clicking on the left bottom corner of the zoom graph palette, the maximum gets set automatically set back to the number of channels (=9).
See scressnhots attached.

 

How to add some more room on the top of the graph still keeping the dots of the last channel in the same position?

Acting on the plot size or the plot bounds doesn't seem to help becasue also the dots stretch with the graph.

 

I also would like to show the name of the channels on the Y-axis instead of values 1 to 9, but I couldn't find any suitable property I could use for that.

 

Do you have any suggestion?

 

Thanks!

MG

  


Viewing all articles
Browse latest Browse all 67304

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>