How would one go about plotting a curve on top of a contour plot?
Say we have a contour plot on an x-t diagram of say, pressure gradient
generated by a script similar to what is seen in the previous thread:
http://groups.google.com/group/amrita-ebook/browse_thread/thread/77b89c069c42b781
And we also have a file listing the x-t coordinates of a curve (say,
the x-t coordinates of a particle path or a C+ characteristic). What
is the best way to plot the curve on top of the contour plot? This can
be done by dumping the results extracted by AMRITA simulation into a
program like MATLAB or Mathematica and having those programs do the
plotting, but it may be better to do everything on the fly within
AMRITA
Right now I am thinking of plotting the curve using the "line" command
to connect the points (connecting the first point in the x-t file to
the second point, taking the second point and connecting it to the
third and so on) and overlaying what I get onto the contour plot (of
say pressure gradient). Would this be the right approach to take?
On a related note, is there a way to draw the lines differently, for
example making some lines slightly thicker than other lines, or adding
colour to the lines? Say we wanted to plot many C+ and C-
characteristics together. If we plotted a lot of those lines together,
the result could be a jumbled mess, and we want to colour code it so
that the C+ is red and the C- is blue. Is there a way to do something
like this within AMRITA?
Thanks,
Carlos