NOAA-PMEL / PyFerret

The PyFerret program and Python module from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
60 stars 22 forks source link

using PyFerret plot symgols, PLOT/LINE/SYM does not draw the line. #76

Closed AnsleyManke closed 4 years ago

AnsleyManke commented 4 years ago

We thought of using some of the nice pyferret symbols for the PLOT command, such as the filled-square. It turns out that when asking for both a line and symbol to be drawn, the line disappears when using these symbols.

This script


set view upper
plot/sym/siz=0.2/line/i=1:5 1./i

set view lower
plot/sym=boxfill/siz=0.2/line/i=1:5 1./i

Makes this plot. but both plots should have a line drawn.

symbol_bug

AnsleyManke commented 4 years ago

This is fixed in ppl/complot/mark.F. Code is checked in, including PyFerret benchmark logs.

I am not changing to automatically use filled PyFerret symbols for plot-symbols yet. They stick out over plot axes - as seen in the plot above, and that seems to much of a change to make in a blanket way. Commented-out code in line_style.F shows how to do it though.