how to plot a graph with Y axis centered at the middle of X axis?
yuchxue
just like the topic, is there anyone who could tell me how to plot graphs with centered axises?
Thank you very much!
Please see the attached graph, “axis form. jpg ”
I found that the axis " free position" option is in gray mode and inaccessible.
SetScale/P x, -50, 1, ddd
Display/L=VertCrossing/B=HorizCrossing ddd
The first two lines just create a data wave that has a range such that a 4 quadrant graph makes sense. The last line creates the graph.
If you're using the New Graph dialog, you'll want to click on the Axis popup menu for the Y wave and select L=VertCrossing. This should cause the Axis popup menu for the X wave to switch to B=HorizCrossing.
August 17, 2010 at 05:00 pm - Permalink
Thank you!
In the normal way to plot a graph, the axis will meet at the left-bottom. In this case, is there any way to move the axis to a desired position freely?
Just as mentioned, the "axis free position" in the pop up menu when double click the axis , is in gray and can not be accessed.
Thank you again!
best!
August 17, 2010 at 06:34 pm - Permalink
You can't move the main left and bottom axes, because they aren't free axes. Using the example of aclight you can choose the position of these axes.
August 17, 2010 at 10:03 pm - Permalink
April 4, 2011 at 01:01 pm - Permalink
Moving an axis in adobe illustrator is definitely not the easiest way to move an axis in Igor pro... ;)
April 4, 2011 at 02:20 pm - Permalink
If you have an existing graph and want to change it to crossing axes, close the graph and save a recreation macro. Then open the procedure window (Windows->Procedure Windows->Procedure Window) and add the /L=VertCrossing/B=HorizCrossing flags to the display command. Then run the recreation macro (Windows->Graph Macros->Graph0).
For details on recreation macros, execute this:
April 5, 2011 at 01:00 pm - Permalink