Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to show several waves in the same time in one graph ranked from top to bottom?

I Created a project with Measurement Studio and VC++6.0. And i have two questions:
Q1:I have 8 waves and i want to show in the same time in one graph ranked from top to bottom.How to do this?
Q2:The feature "Zooming out" does not work in a graph. I only can zoom in a graph by drawing a rectangle with the left mouse button." How to zoom out a graph?
THANKS! BOW!
0 Kudos
Message 1 of 5
(3,442 Views)
Hello

Check out the examples for VC that show how to plot on multiple Y axis. Its located under Examples >> UI >> Graphs >> Multiple Y Axis.

There are 2 ways to zoom out. You could reset the graph axis to its min and max values. You could also record the axis values before each zoom, and reset the axis zoom one by one. Check out the following dev zone post.

"How to Zoom out in CWGraph control ?"

Hope this helps

Bilal Durrani
National Instruments
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(3,442 Views)
Hi thanks for your response!
Although ploting on multiple Y axis can indirectorily create the effect that several waves ranks in one graph from the top to the bottom,do you have a better method?

Is there a method which can zoom in or zoom out quantitatively?For example, how to zoom out exactily 2.5 times?

Thank you for your great help!
0 Kudos
Message 3 of 5
(3,442 Views)
Hello

To zoom quantitavely, you would have to set the axis ranges quantitavly, so you could write a procedure that would let you zoom out 25% instead of 50% by setting the axis appropriatly.

hope this helps

Bilal Durrani
National Instruments
Bilal Durrani
NI
0 Kudos
Message 4 of 5
(3,442 Views)
Thank you very much!
0 Kudos
Message 5 of 5
(3,442 Views)