Axis Manipulation in Gizmo

rehlroad
Posts: 3
Joined: 2018-06-08
Location: Canada

Hello,

I'm trying to make a 3D Scatter Plot with Gizmo. I'm having trouble adjusting the axes the way I need them. Is there a way to reverse axes in Gizmo? When I try to manually flip the axes I get the error message 'Bad Outerbox Limits'.

Basically my figure is of several spectra (intensity vs wavenumber) and I'm trying to plot these against a third independent axis (an experimental variable).

I need to flip either the wavenumber axis or the third independent axis. But it won't let me do either, I'm guessing because I'm trying to set the "minimum" to my highest wavenumber value (which works fine for 2D plots).

Your help is greatly appreciated!


thomas_braun
Posts: 597
Joined: 2009-10-07
Location: Germany

Hi rehlroad,

welcome to the forum.

What Igor version are you using?


Igor's picture
Posts: 817
Joined: 2007-06-29
Location: United States

There is more than one way to flip an axis. For example, you can simply introduce a scale operation at the appropriate point on the Display List:

1. Create a sample scatter plot:

newgizmo/junk=3

2. Create a scale operation:

ModifyGizmo opName=scale0, operation=scale,data={-1,1,1}

3. Now in the Gizmo Info Window drag the scale0 operation to the top of the display list.

I hope this helps,

A.G.
WaveMetrics, Inc.


rehlroad
Posts: 3
Joined: 2018-06-08
Location: Canada

thomas_braun wrote:
Hi rehlroad,

welcome to the forum.

What Igor version are you using?

Thank you, I'm using version 7.05.


rehlroad
Posts: 3
Joined: 2018-06-08
Location: Canada

Igor wrote:
There is more than one way to flip an axis. For example, you can simply introduce a scale operation at the appropriate point on the Display List:

1. Create a sample scatter plot:

newgizmo/junk=3

2. Create a scale operation:

ModifyGizmo opName=scale0, operation=scale,data={-1,1,1}

3. Now in the Gizmo Info Window drag the scale0 operation to the top of the display list.

I hope this helps,

A.G.
WaveMetrics, Inc.

That works perfectly, thank you!


Back to top