[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030514: Gempak/sfgram, control of labels



Luis,

1) The text string yaxis labels are written using the GTEXT 
call at the bottom of $GEMPAK/source/programs/sf/sfgram/sfxgrf.f

If you are just cleaning up a postscript file for publication,
you can edit the ps file directly and take out the string.
Otherwise, you are correct that the parameters labels are
always written, and can be omitted if you just comment out the
GTEXT line.

2) the date string is abbreviated to the shortest abreviation
possible starting with YYMMDD/HHNN given the time range....such 
that when the times are within the same month, you get DD/HH, and 
when the times span 2 months, you get MMDD/HH. The time labels are
computed in the call to $GEMPAK/source/gemlib/in/intaxs.f
(from sfgram.f). The code section that you are interested in is:
C
C*      Remove date elements which are duplicated in all the labels.
C

(eg, that code section is sortening the labels when all labels have
the same, YY, MM, DD etc.)

If you wanted to remove the MM portion regardless that it changes
over the interval, then you could set nskp = 5 for the call to
 
        DO  i = 1, nxlbl
            ctlbl (i) = ctlbl (i) ( nskp: )
        END DO


Steve Chiswell
Unidata User Support


>From: Luis M Farfan <address@hidden>
>Organization: CICESE - BCS
>Keywords: 200305142030.h4EKUlLd017072

>This is a multi-part message in MIME format.
>--------------050706090502040702020308
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>
>Steve,
>I am using version 5.6.h of the gempak software to generate time series
>from surface data during hurricane landfall. Sfgram allows me to create
>these plots with the exception of 2 minor details that I can not solve and ,
>perhaps, you could provide some guidance.
>
>Attached is a display where I would like to:
>1) remove the surface parameter label to the right and left of vertical 
>axes,
>2) make the date/time label uniform as dd/hh or mmdd/hh. As you can see,
>     there is a change of month from september to october.
>
>I assume that changes had to be made to certain lines of the source 
>code, but
>I do not know if this is reasonable and what are the specific 
>modifications to
>be performed.
>
>Please let me know if you wish to receive additional information.
>
>Thanks, Luis M Farfan.
>