Programmatically plotting several 3D (2 variables) data with GIZMO
Nasser
Hello,
My dataset consists of many 2D matrixes, that I'd like to plot and explore using Gizmo.
I hope that ModifyGizmo will enable me to achieve all that I'm expecting!
My first trouble is that I can't display several graphs in the same Gizmo graph window.
EDIT : Simply
AppendToGizmo
! but I didn't find it in the Gizmo Help...If this first issue can be solved, it would be great to superpose several matrixes (layers), each in its own color, then provide a sectional view.
This sectional view would be given by to perpendicular planes moving accordingly to attached sliders.
I prefer to ask first if it is feasible!
Thank you in advance
You can display several surfaces in Gizmo if all the surfaces are appended to the same coordinate system. Gizmo does not (easily) support multiple coordinate systems in the same window though you can accomplish this too with a judicious choice of ortho, translations and/or rotations.
You can find an example of multiple surfaces in File Menu->Example Experiments->Visualization->Intersecting Surfaces. If you want to find out how to program this you can simply look at the recreation macro of the example above (just close the window and save the recreation or execute DoWindow/R Gizmo0. In addition you might benefit from the video tutorials here: http://www.wavemetrics.com/products/igorpro/videotutorials.htm. Note in particular the tutorial "Creating a Surface Plot from Scatter Data" which displays surface and scatter on the same graph.
If you are trying to create a graph that contains multiple 3D coordinate systems you should start from a number of Gizmo windows and transfer the relevant images from the various Gizmo windows into a single graph window or layout.
I hope this helps,
A.G.
WaveMetrics, Inc.
April 21, 2011 at 09:53 am - Permalink
Thank you for your reply. All the surfaces have the same coordinates system.
Since they will be superposed, I would be interested in removing some pieces of surfaces in order to have a sectional view of the whole graph.
EDIT : A solution could be to dynamically duplicate the waves of interest, and to replace the values we want to cut out by "Nan". This could enable the creation of "3D profiles".
As you've suggested, I'll start with the basics thanks to the code generated when the window is closed.
Best regards
April 21, 2011 at 11:45 pm - Permalink