[gradsusr] RES: Help with bar plotting using GrAds
Everaldo B. de Souza - UFPA
everaldo at ufpa.br
Sat Mar 17 21:07:49 EDT 2012
Dear Jose Augusto Salsicha,
You can use baropts outline, varying values for bargap, something like this:
'set t 1 12'; 'set gxout bar'
'set vrange -5 7'; 'set barbase 0'; 'set baropts outline'; 'set bargap 40';
'set ccolor 2'; 'set cthick 6'
'd var1'
'set vrange -5 7'; 'set barbase 0'; 'set baropts outline'; 'set bargap 60';
'set ccolor 4'; 'set cthick 6'
'd var2'
'set vrange -5 7'; 'set barbase 0'; 'set baropts outline'; 'set bargap 80';
'set ccolor 9'; 'set cthick 6'
'd var3'
um abraço, Eve.
De: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] Em
nome de Jose Augusto Paixão Veiga
Enviada em: sábado, 17 de março de 2012 18:06
Para: GrADS Users Forum
Assunto: [gradsusr] Help with bar plotting using GrAds
Dear all,
I need some help to plot a graph using the set gxout bar command.
I want to plot one variable from three different sources, so when I use the
commands bellow as part of my main script:
'set t 1 12'
'set gxout bar'
'set bargap 70'
'set barbase 0'
'set vrange -5 7'
'd var1'
'd var2'
'd var3'
I get a graph like the attached file. However, in this case the GrAds
software plots every single variable in just "one" bar, i. e., for January
we can see the results "superposed" to each other. But I prefer to have
three bars for each month plotted instead "one" bar containing three values.
So, how can I change it to get the plot I need?
Any hint will be very welcomed.
José Augusto P. Veiga,
======================================
Universidade do Estado do Amazonas
Departamento de Meteorologia
Escola Superior de Tecnologia (EST)
----------------------------------------------------------------------------
-
Av. Darcy Vargas, 1200, Manaus-AM Brasil
Work phone: (92) 3878 4323
Skype: veiga_j.a.p.
----------------------------------------------------------------------------
-
CV: <http://lattes.cnpq.br/4027612512091565>
http://lattes.cnpq.br/4027612512091565
URL:http://scientificmet.wordpress.com/
http://nmet.wordpress.com/
----------------------------------------------------------------------------
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120317/bc129161/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 37944 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20120317/bc129161/attachment-0003.jpe
More information about the gradsusr
mailing list