08-16-2014 11:03 AM
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
Solved! Go to Solution.
08-16-2014 11:26 AM
In terms of your first question there is an event that graphs can fire when their axis scaling changes, you can use that to trap the changes and reset the Y axis as needed.
Concerning your second question, I don't know.
Mike...
08-17-2014 01:32 AM
Thanks a lot Mike! This is what I was looking for.
I mark this as solution and post the other question in another thread, maybe someone has an answer for that....
MG