[gradsusr] gxout countour vs shade2 - no perfect overlap

Jennifer Adams jma at cola.iges.org
Wed Jul 25 16:38:36 EDT 2012


From the doc page on 'set cterp':

set cterp on|off

Turns spline smoothing on or off. "Sticks" until reset. Shaded contours are drawn without spline fitting, so to insure an exact match when overlaying contour lines and shaded contours of the same field, specify cterp as off. You can still use the csmooth option, which affects both contour lines and shaded contours.

--Jennifer


On Jul 25, 2012, at 3:26 PM, Stefan Gofferje wrote:

> Hi,
> 
> I'm plotting a parameter first with gxout shade2 and then I plot over it
> with contour to make some borders better visible. That's how it looks like:
> 
> 'set gxout shade2'
> 'set clevs      1  1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5
> 8.0 8.5 9.0 9.5 10  10.5 11 11.5 12 12.5 13 13.5 14 14.5 15'
> 'set ccols -1  30  31  32  33  34  35  36  37  38  39  40  41  42  43
> 44  45  46  47  48   49  50  51  52  53  54  55  56  57  58  59'
> 'd scpsfc'
> 'set gxout contour'
> 'set clab masked'
> 'set clevs 4 5 6 7 8 9 10 11 12 13 14 15'
> 'set ccolor 99'
> 'd scpsfc'
> 
> Trouble is, the contour plot does not perfectly overlap with the shade2
> plot. The contour plot seems overall smoother while the shade2 plot
> seems a bit edgy. Do they use different algorithms for interpolation?
> 
> --Stefan
> 
> -- 
> Suomen Sääkeskus - Hyvä sää on makuasia
> 
> Stefan Gofferje
> Haukantie 2 B 5
> FIN-37600 Valkeakoski
> GSM:       +358 (41) 7290730
> 
> http://www.saakeskus.fi/
> stefan at saakeskus.fi
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120725/0b8b1eb8/attachment-0003.html 


More information about the gradsusr mailing list