2d images plotted with isotropic scales

forborto
Posts: 2
Joined: 2010-01-19
Location: United States

Hello,

Sorry if this was covered before, but I didn't figure out how to search!

In IDL, a keyword, '/isotropic', can be used to force the x and y scales to be the same, while plotting. That is, if you are plotting over a range of 5 cm in the x-direction and 5 m in the y-direction, the plot will be forced to an elongate narrow rectangle.

Is there a way to do this in Igor? When I have plots where the axes are both real dimensions, I like to have this feature. The only way I've done it in Igor is by sizing the window by eye, but that's not ideal...

Thanks


JimProuty's picture
Posts: 210
Joined: 2007-07-19
Location: United States

That's what we call "Plan" mode.

ModifyGraph width={Plan,n,bottom,left}		// plan width mode.
			// The width of the horizontal
			// axes is n times height of
			// vertical axes times range of
			// the bottom axis divided by
			// the range of the left axis.

Use n=1 to get:

ModifyGraph width={Plan,1,bottom,left}

This is accessible in the Modify Graph... dialog (see the Graph menu).

For more info, enter this command:

DisplayHelpTopic "Graph Dimensions"

To search the help, choose "Search Igor Files" from the Help menu, make sure "Help Files" and "In the Igor Pro Folder" are checked, and enter something to search for.

Jim Prouty
Software Engineer, WaveMetrics, Inc.


forborto
Posts: 2
Joined: 2010-01-19
Location: United States

Jim,

Works great. Thanks so much. I've used Igor on and off for 7 years and never realized that feature!


Back to top