Current Page:
NeXtMidas Training
Macros - Part 2 (Graphics)
Lab 2 - Macro Graphics
Instructions
|
|
- Lab 2 - Macro Graphics:
- Create a new macro called
graphicslab2
- For this macro you will plot (using
PLOT/READOUT=+ONAXIS ) and list (using
LIST2 ) four different files.
sinewave.prm - Type 1000 Blue File
fftdemo.prm - Type 1000 Blue File
cities.prm - Type 5000 Blue File
- This will be plotted along with the
world.prm a Type 1999 Blue
File, however world.prm will not be listed.
world.dbf - A DBF File
- For this one you should plot
world.shp{LAYER={LABEL=NAME}} ,
but list world.dbf . By using LABEL=NAME , the plot
will read the country name out of the world.dbf file and show
it on the axis.
- When the panel is setup there should be four columns (one column per file) and two
rows (plots over lists) arranged so the list for a given plot is directly below it.
- So that users can exit easily, you will also need an "Exit" button.
- When you are done your panel should look like this:
|
Click image for larger view.
|
- Once your macro is done, try running it and clicking on the little 'X' above each of
the plots. Notice how the plot will "pop" out of the panel for easier viewing.
Clicking the 'X' in the "popped" window will "push" it back into the panel.
|
|
|