How to set y axis with fix maximum and minimum value
eesyliu
SetScale/I y,-10,10,"Acceleration", data1<pre><code class="language-igor">
However, it doesn't work and all graphs y axis are still autoscaled. How I can achieve that?
However, it doesn't work and all graphs y axis are still autoscaled. How I can achieve that?
SetScale
is used to change the wave scaling. I recommend following the guided tour (Help menu -> Getting Started) to understand this concept.To change the axis range you'll need the
SetAxis
operation. The easiest way to generate the command is to double-click on the axis in one of the graphs, then making the change using the dialog. Note the command that it generates and executes. Click on another graph that needs to be modified and repeat the same command on them by clicking the command line, hitting the up arrow key to select the most recent executed command, and hit return twice. Do this for all of the graphs that need this adjustment.December 5, 2012 at 02:36 am - Permalink
Simply setting the max/min of the y-axis to 10 and -10 would have no effect on the data. As you have stated, you max/min values are all different so setting the range of the y-axis would "clip" data which is beyond this range and still leave the small amplitude waves difficult to see.
You can use the wave arithmetic panel to normalize your curves (max value = 1), or multiply them by constants if you don't want to normalize to 1. If you truly wish to use wave scaling, you would have to do this for each wave.
December 5, 2012 at 06:42 am - Permalink
December 5, 2012 at 11:17 pm - Permalink