[gradsusr] Problem running the hatch.gs script in a multi-panel plot
Arlindo Meque
mequitomz at yahoo.com.br
Tue Mar 19 10:39:40 EDT 2013
Dear all,
1. I am trying to plot correlation
between the rainfall and different RCMs (see the attached figure) .
I am using the hatch.gs script (http://kodama.fubuki.info/wiki/wiki.cgi/GrADS/script/hatch.gs?lang=en)
to highlight the regions where the
correlation is significant at 95%. The Hatch script works nicely
for the first plot but it fails for the remaining plots.:
ga-> plot.normal.cor.gs
No hardcopy metafile open
All files closed; all defined objects
released;
All GrADS attributes have been
reinitialized
Most GrADS attributes have been reset
Data Request Warning: Request is
completely outside file limits
Data Request Warning: Request is
completely outside file limits
Non-numeric args to numeric operation
Error occurred on line 357
In file
/home/arlindo/opengrads/Resources/Scripts/hatch.gs
Error occurred on line 74
In file
/home/arlindo/opengrads/Resources/Scripts/hatch.gs
Unknown command: 67
Is there a way of reseting the
hatched values? It seems that the hatch script repeats the same
coordinates for the next plot (the hatched regions in plot 2 are the
same as in plot 1)
This is a subset of my script:
* upper left (plot 1)
'set vpage 0 2.8 8.5 11'
'set font 1'
'set lon 5 52'
'set lat -40 0'
'set xlopts 1 5 0.3'
'set ylopts 1 5 0.3'
'set gxout shaded'
'set xlint 10'
'set ylint 5'
'set strsiz 0.15 0.15'
'set grads off'
'set mpdset mres'
'set map 1 1 8'
'run cc'
'set clevs -0.7 -0.6 -0.5 -0.4 -0.3
-0.2 -0.1 0.0 0.1 0.2 0.3 '
'set ccols 49 48 47 46 45 44 43 0 0
22 23 24 25 26'
'd outcor.1'
'hatch outcor -1 -0.456 -angle 45,135'
'hatch outcor 0.456 1 -angle 45,135'
* middle middle (plot 2)
'set vpage 2.8 5.6 8.5 11'
'set gxout shaded'
'set grads off'
'set xlint 10'
'set ylint 5'
'set lon 5 52'
'set lat -40 0'
'set mpdset mres'
'set map 1 1 8'
'run cc'
'set clevs -0.7 -0.6 -0.5 -0.4 -0.3
-0.2 -0.1 0.0 0.1 0.2 0.3 '
'set ccols 49 48 47 46 45 44 43 0 0
22 23 24 25 26'
'd outcor.2'
'hatch outcor -1 -0.456 -angle 45,135'
'hatch outcor 0.456 1 -angle 45,135'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130319/e269dc5b/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 64697 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130319/e269dc5b/attachment-0003.png
More information about the gradsusr
mailing list