Re: Question about Plotting multiple ellipses

From: Dave Kennison (kennison AT unknown)
Date: Sun Jan 20 2002 - 20:45:56 MST

  • Next message: Dr. Someshwar Das: "NCAR Graphics output in JPG or GIF format"

    Bob,

    > I would like to plot multiple ellipses on one frame. I read
    > about the Autograph routines such as EZMXY. Each ellipse is defined
    > by a set of coordinates (X(I), Y(I)). I have "M" of these ellipses.
    > Each ellipse has a different set of X(I) values. And of course the
    > Y(I) values are different for each ellipse. It looks to me like EZMXY
    > will plot multiple curves but uses the same set of X(i) values for
    > each curve. If this is true, then EZMXY will not do the job.
    >
    > Any suggestions on what to use to plot these ellipses on one
    > frame? The X(I)'s will vary in value. I could always get the max/min
    > for the X's and Y's and preset them. But how can I plot the actual
    > ellipses.

    As I recall, by default, the X array in a call to EZMXY is interpreted
    to be a singly-dimensioned array, but there is an internal parameter
    (called 'ROW.', I think) that you can change to tell AUTOGRAPH that
    the X array is doubly-dimensioned (so that you can have a different
    set of X's for each ellipse). However, you would still be required
    to have the same number of points defining each ellipse. If you want
    to have a different number of points for each ellipse, you will have
    to replace the call to EZMXY with a set of lower-level calls to AGSTUP,
    AGBACK, and AGCURV.

    I would be more precise about this, but I'm sending this from home and
    my connection to NCAR is slower than s ... well, it's slow ... tonight.

    Dave Kennison



    This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 09:05:21 MST