[Thread Prev][Thread Next][Index]

Re: [ferret_users] Odd lines on postscript with fill command



I use files with those lines in journals all the time (indeed, every time), and they do not print in the journal. I'm not sure why. Billy

On Sep 18, 2009, at 11:06 AM, Stephen Guimond wrote:

Hi Roman, Billy and others,

Thank you for those suggestions.

First, I tried what Billy suggested (shade first then overlay with fill) this give me a better plot, but the lines are still there (now the right color, but obvious odd lines).

Next, I tried Roman's suggestion and indeed unchecking the aliasing box in ggv does remove the lines. However, I am sending these files to a journal office and they will probably still print out with those lines since the file itself was not changed, just the viewer.

Note that I tried converting from plt to ps with Fprint and the same line feature is there.

Any other suggestions?

Steve

----- Original Message -----
From: Roman T <romantonk@xxxxxxx>
Date: Friday, September 18, 2009 9:09 am
Subject: Re: [ferret_users] Odd lines on postscript with fill command
To: Stephen Guimond <sguimond@xxxxxxx>
Cc: ferret_users@xxxxxxxx

Hi Stephen,
I checked back and here is the proposed solution. Note that this
helps with
rendering of
ps (and eps, I think) files but I am not sure if it will help with
the pdf.
If you open .ps file in ggv, go to Edit->Poscscript Viewer
Preferences and
unckeck the
antialiasing box. The lines *should* disappear.
Hope this helps in any way!
Roman



On Fri, Sep 18, 2009 03:11 AM, Stephen Guimond <sguimond@xxxxxxx>
wrote:>
Ferreters,

I am seeing some unwanted, odd thin white lines on my postscript plot (attached pdf). I remember someone having similar issues before, but
couldn't find it in the archives.

Some key lines of my ferret script (note that using shade removes the
problem, but I want to use fill)...

set mode metafile:fig19.plt
fill/nolabs/hlimits=4:11:0.25/vlimits=50:600:50/pal=rnb2/ levels=(20,100,10)/set mean
ppl ylab "Radius (km)"
ppl xfor (i2)
ppl axlint,4
ppl fill
label/nouser 4,-0.55,0,0,0.15 "Day (July 2005)"

let er2 = (14*60 + 40)/(24*60) + 9
plot/vs/overlay/nolab/line/thick=3/color=black {`er2`,`er2`}, {50,600}


My shell script to convert...

#! /bin/tcsh
ferret -unmapped -script plot_inertial.jnl
set file = `echo *.plt | cut -d"." -f1 `
gksm2ps -p portrait -o $file.ps $file.plt

# script to increase line weights of Ferret output
sed 's_3.000000 lw_6.000000 lw_g' < $file.ps >! foo; \mv foo $file.ps sed 's_2.000000 lw_4.000000 lw_g' < $file.ps >! foo; \mv foo $file.ps sed 's_1.000000 lw_2.000000 lw_g' < $file.ps >! foo; \mv foo $file.ps

convert $file.ps $file.pdf
rm -f *.ps *.plt

Note also, that sometimes fill works (for other plots).  I am
using FERRET v6.1 for Linux.

Thanks for ideas,
Steve

=======================================================
Stephen R. Guimond
Graduate Research Assistant
Florida State University
Center for Ocean-Atmospheric Prediction Studies (COAPS)
=======================================================





=======================================================
Stephen R. Guimond
Graduate Research Assistant
Florida State University
Center for Ocean-Atmospheric Prediction Studies (COAPS)
=======================================================



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement