Affixing a 2D image plot to a surface in Gizmo
| jmcclimo2003 | June 7, 2012 - 05:47 | ||
|---|---|---|---|
|
I have Igor 6.22A. I have a topographic surface plotted in Gizmo from a 2D wave that I would like to put a texture on to provide the coloring. I would like the texture to match an image plot I also have. The image plot is of a 2D wave where the color of the plot is from a standard color table. I know how to put a texture on if it comes from a .jpeg mainly because I have a recreation macro that does it, so perhaps I just need a way to convert the image plot area into a jpeg. As an aside, in the tutorial video on textures, the info window object list pulldown menu has the option to create a new group object, but I don't have that option. Is there a reason this is the case? |
|||

Joined: 2007-06-29
Location: United States
Please contact support@wavemetrics.com for additional resources that should help you accomplish this task.
A.G.
WaveMetrics, Inc.
Joined: 2012-03-26
Location: United States
After getting a phone explanation, my problem is solved, and without textures.
I had to use:
imageinterpolate/resl={512,512} bilinear imageplotwavename
to resample the wave data to the same X-Y dimensions as the topo surface
modifygizmo makecolorwave={M_interpolatedimage,Rainbow,0}
to map the interpolated wave "M_interpolatedimage" onto a colortable, which becomes the color wave M_interpolatedimage_C
This can then be selected under Surface0 (or whatever) in the Gizmo Info Window as Surface Color/Color from Wave.
Joined: 2007-07-19
Location: United States
Type this command to show that and other advanced options:
ModifyGizmo userlevel=9--Jim Prouty
Software Engineer, WaveMetrics, Inc.