You should use the plotarea command to fix the active drawing
area on the page, see:
amrhelp plotarea
and you'll need to activate clipping with:
clipping on
Have a stab at it, and if you get stuck I'll
help you further.
James
On Mon, 17 Nov 2008, Matei Radulescu wrote:
> james,
> I can post something like that shortly, although I'm not a 100%
> comfortable with passing variables and commands to call other
> procedures. Do I pass those as strings? For example, I want to pass
> the PlotDensity command to the procedure, so that it calls PlotDensity
> from within the procedure. Let me clean it up a little and give it a
> shot.
> matei
There's more than one way it could be done. But as a first step,
I would suggest you try something very simple and not even bother
to pass the drawing commands to the procedure. For instance,
you could use:
PlotWholeChannel
do n=1,$n
flowin io/soln$n
FocusOnFront
DensityPlot
end do
Have a stab at it and I'll answer any specific questions you might
have.
James
On Wed, 19 Nov 2008, matei wrote:
>
> James,
> Here are the updated procedures with your recommendations. Thanks for
> your help. They are working nicely.
>
There's one last step you could do. If you employ
Amrita's utilize command your new procedures can be
squirreled away and then accessed using something
along the lines of:
utilize mateis::utils
...
PlotWholeDomain
This would allow you to build up your own extensions
that could be used from student to student.
James
describes how the utilize command hunts for resources.
James