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

Re: Gempak- Consistent Colors



        by ariel.met.tamu.edu (8.8.8+Sun/8.8.8) with SMTP id NAA18540;
        Tue, 1 May 2001 13:53:49 -0500 (CDT)
X-Sender: address@hidden
Message-Id: <v01530543b714b47c60fa@[128.194.104.230]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 1 May 2001 13:55:23 -0500
To: hardimanm <address@hidden>
From: address@hidden (John W. Nielsen-Gammon)
Subject: Re: Gempak- Consistent Colors

> What I
>would like to do is to force the yellow color onto the 4-5 field, and
>have the other colors in the list all fall into place around that,
>repeating if necessary.

Mike, and anyone else that's interested -

    I have placed two gempak subroutines, inintc.f and incint.f, onto our
anonymous ftp server, ariel.met.tamu.edu.  These subroutines replace the
corresponding subroutines in /src/gemlib/in.  I use them for our web
product generation (using gempak 5.4, but they ought to work in 5.6 too).
They do exactly what you want - allow you to keep the colors fixed even as
the range of data changes.

   The new subroutines allow
the syntax min-max-interval for the contour or fill interval (analogous
to the specification of a range of vertical levels in other programs).
When used in conjunction with a list of colors, contour "min" will
always have color 1 (whether or not it exists), contour "min+interval"
will always have color 2, etc.  The syntax may also be embedded within
a list of contour levels (for example, cint=0.1;1;2-20-2 will draw
contours (and assign colors) at contour levels 0.1, 1, 2, 4, 6, 8, 10, 12,
14, 16, 18, and 20.  You can get quite fancy with this; for example, our
700 mb omega web page plots
(at http://www.met.tamu.edu/weather/models.html) use gfunc=omeg,
scale=3, and fint=-35--15-5;-12;-9-9-2;12;15;20.  Note that the new
subroutines correctly (I hope) distinguish between dashes as dashes and
dashes as minus signs.  Please let me know if you find any bugs.
                                        - John



_____________________________________________________________________
John W. Nielsen-Gammon, Dept. of Atmospheric Sciences, Texas A&M Univ.
    O&M Bldg. Rm.1012A, 3150 TAMU, College Station, TX 77843-3150
        Email: address@hidden  Phone:979-862-2248  Fax:862-4466


pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy