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

Home » Public Forums » archive » How to control the lat-lon axis when using Google Static map as background?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to control the lat-lon axis when using Google Static map as background? [message #88328 is a reply to message #88327] Tue, 15 April 2014 06:04 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Madhavan Bomidi writes:

> Thanks for your response. How can change the format of the label while using cgPlotS function?

Humm. Not sure I understand your question. With cgPlotS, one controls
the "format" of the symbol by choosing one of the 50 or so symbols
allowed, changing its size (SymSize) and color (SymColor) as needed.

But, I thought you were talking about numbers. If you are asking how do
you format numbers that you put onto a plot with a command like cgText,
then I would say it is done with the String function:

number = 123.4567
numberAsLabel = String(number, Format='(F0.2)')
cgText, lon, lat, numberAsLabel, Size=2.0

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help converting MATLAB to IDL
Next Topic: Multiplying very high with very low numbers: erfc * exp

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

Current Time: Fri Oct 10 07:14:52 PDT 2025

Total time taken to generate the page: 0.15967 seconds