comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Keywords GS and LIMITS not allowed in TRIGRID
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Keywords GS and LIMITS not allowed in TRIGRID [message #9586] Sun, 13 July 1997 00:00 Go to next message
Scott Applequist is currently offline  Scott Applequist
Messages: 4
Registered: November 1996
Junior Member
I am trying to specify the grid spacing and limits in the
TRIGRID function (1-909R). I am getting an error message
that neither keyword is allowed in this function (quite
contrary to the documentation it seems). The following
are the relevant code and error message I receive. Thanks
for any possible guidance.

;These arrays contain 74 longitude, latitudes, and geopotentials
bigbox=[15.,-115.,60.,-60.]
xlon = fltarr(nh)
xlat = fltarr(nh)
hght = fltarr(nh)

;Data assignment statements
.
.
.

triangulate, xlon, xlat, tr, b
gridhght = trigrid(xlon, xlat, hght, tr, extrapolate=b $
,gs=[1.0,1.0] , limits=bigbox )


----------------------Session Output-------------------
IDL. Version 4.0.1 (vms alpha).
Copyright 1989-1995, Research Systems, Inc.
All rights reserved. Unauthorized reproduction prohibited.
Installation number: 12608-30.
Licensed for use by: FSU - GFDI

IDL> .run test
% Compiled module: $MAIN$.
571201/0000
68 good values
% Keyword GS not allowed in call to: TRIGRID
% Execution halted at: $MAIN$ 36
FEDORA$DKB200:[SCOTT.PROGS.FIXDATA]TEST.PRO;11

If I omit the gs=[1.0,1.0] part, the same error is returned
with the word LIMITS in place of GS. If both are omitted,
TRIGRID works, but not with the desired grid spacing or limits.
Re: Key [message #10327 is a reply to message #9586] Thu, 06 November 1997 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Neil Winrow wrote:

> I wish to produce a Key for the plots I'm producing. The data on the
> plots are colour coded, and I wish to display a key on the plot to show
> what the different colors represent. Does anyone know of a simple method
> other than using a series of 'XYOUTS' statements.

The LEGEND procedure from the ESRG library at

ftp://icess.ucsb.edu/pub/idl

can usually be coaxed to do this sort of thing pretty well.

Cheers,
Liam.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: shared colormap
Next Topic: Re: Automatic Compiliation of IDL Programs, Was: Lost Functions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:47:00 PDT 2025

Total time taken to generate the page: 0.00431 seconds