Affixing a 2D image plot to a surface in Gizmo
jmcclimo2003
Thu, 06/07/2012 - 06:47 am
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?
A.G.
WaveMetrics, Inc.
June 7, 2012 at 09:38 am - Permalink
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.
June 7, 2012 at 12:34 pm - Permalink
Type this command to show that and other advanced options:
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
June 7, 2012 at 12:43 pm - Permalink
Thanks,
Brandon
April 18, 2018 at 08:29 am - Permalink
bigmatrix = smallmatrix[floor(p/256)][floor(q/256)] // 256 = 2048/8
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 18, 2018 at 09:14 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 18, 2018 at 09:15 am - Permalink
April 18, 2018 at 09:57 am - Permalink
Thanks again,
Brandon
April 23, 2018 at 10:40 am - Permalink
Unlike a regular graph, a colorScale in Gizmo is not necessarily representing values in the graph. For example, you may display a surface from waveA and you use waveB to color the surface using some arbitrary scale values. There is no way for the colorScale to know about your scaling so it obviously can't be made to automatically update.
A.G.
April 23, 2018 at 10:58 am - Permalink
April 23, 2018 at 04:07 pm - Permalink