[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #TZD-265839]: request help to plor bigger white backgrounf GIF file
- Subject: [GEMPAK #TZD-265839]: request help to plor bigger white backgrounf GIF file
- Date: Tue, 17 Jul 2007 12:30:03 -0600
> Hi, gempak support staff,
>
> I was wondering if I can use gdplot to plot GIF file in white background?
> Also, can I make bigger GIF file? Thank you very much for your help.
>
> Huiya
>
> --
> Hui-Ya Chuang
> Research Meteorologist
> NOAA /NCEP /EMC
> 301.763.8000 x7219
>
>
Hui-Ya,
You can control the size of the GIF file by setting the xsize;ysize
values in the DEVICE parameter, eg:
DEVICE = gf|outfile.gif|1200;1000
The background color can be set by either:
1) in a program at the GEMPAK prompt type:
COLORS = 101=white
before typing "run" to open the deive driver. Color index 101 is the background
index
as mentioned in the online help for COLORS (eg "phelp color").
2) copy $GEMTBL/colors/coltbl.xwp to your local working directory and
change the first color index from black to white before running the
GEMPAK program which opens the GIF device.
In the Unidata GEMPAK distribution, I provide a file
$GEMTBL/colors/coltbl.xwp_white which is configured as mentioned above:
! COLTBL.XWP
!
! XWP and XW color table for white background
!
!Color name Abrev Red Green Blue X color name
WHITE WHI 255 255 255 white
VANILLA VAN 255 228 220 bisque1
RED RED 255 0 0 red
<etc.>
Creating a symbolic link from that this color table to coltbl.xwp in the working
directory provides a simple method for generating white backgrounds from a
script.
Steve Chiswell
Unidata User Support
Ticket Details
===================
Ticket ID: TZD-265839
Department: Support GEMPAK
Priority: Normal
Status: Closed