[Thread Prev][Thread Next][Index]

Re: [ferret_users] disappearing lines with polymark



Hi,
These are hard problems. 

The polymark script should draw the both the circle and outline if you use the POLYGON command with both /LINE and /FILL.
GO polymark polygon/over/key/line/fill  xpts,ypts,sst,circle, 0.8
Or, you could do it with two commands but reverse the order, first with color and then with /line
    go polymark polygon/over/pal=rainbow3 myvar circle 0.8
    go polymark polygon/over/line myvar circle 0.8

However with either of these options, the black outlines may start to obscure the colors where the observations are dense.  The plot you show might be preferable.

You  could re-draw the axis line after making the polygons, with something like this:
   plot/vs/over/color=black/nolabel {-70,-20}, {0,0}
-Ansley

On 12/3/2015 2:30 AM, Marco van Hulten wrote:
Hello,

I am loading different observational data sets that contain many bad
values to plot onto model output.  I use

    go polygon polymark myvar circle 1.0

for this.  This works well: only the good values are plotted.  I want a
line around the circles, so I can use the /line option.  However, then
I get open circles for both good and bad data.  That I do not want.

So I do this:

    go polygon polymark/over/pal=black    myvar circle 1.0
    go polygon polymark/over/pal=rainbow3 myvar circle 0.8

This works, except for the problem that when plotting previous lines
in the plot disappear.  Firstly, if the circles are plotted close to the
axes lines, some of the axes lines are removed (as they are underlying
the closed circles).  Secondly, circles close to each other remove the
lines of the previous circles, resulting in lump of lineless circles
where observations are dense.

The enclosed figure illustrates these problems.  (It shows some
phosphate data of the GEOTRACES GA02 transect overlayed in PO4 section
from the model PISCES-v2 interpolated from the ORCA2 grid onto the GA03
transect, using the rainbow3 palette that I sent in a previous e-mail.)

If there is no simple solution, would you say this is esthetically
acceptable?

Marco



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement