Graph question: different right-and-left y-axis
waveguide
I would like to plot TWO different functions on ONE plot, using Igor. I want to scale the right axis in accordance to my first plot, and the left axis in accordance to the second one, so scaling must be different.
I am attaching the Figure to illustrate what I am trying to do.
How to do this with Igor? I am new to it, so I will appreciate something simple without too much programming - anything which can be done in the command line will be fine.
I would be very very thankful for this :)
AppendToGraph/R wave2
November 25, 2009 at 01:51 pm - Permalink
Thank you so much!
November 25, 2009 at 03:12 pm - Permalink
I checked out the transform axis package, but I cant seem to figure out how to do what I want here.
(also sorry for thread necromancy, i know some forums get uptight about that but you guys seem logical and this was the most applicable thread that came up on my search, seemed better to ask in here)
EDIT: sorry, I figured it out from the help files. in such a hurry here to make my deadline =)
I was able to create my own transform axis function (click the help button in the package), give it the linear relationship, and load it thru the transform axis package using the mirror axis option so that my data was not actually transformed and i got the extra axis running along the top.
December 7, 2012 at 02:26 am - Permalink
appendtogrpah/t wave1 vs wave0
So if you want to have one graph use the bottom axis and one use the top, you would use the /t flag. To make it's values different than those of the bottom axis, just use another wave which contains the values you want.
You can also name you axis other than the default (left, right, top, bottom) so that you can scale differently (say you use two bottom axis slightly offset for appearance).
December 7, 2012 at 09:19 am - Permalink