Re: Error with MapProjection::Forward [message #86691 is a reply to message #86690] |
Thu, 28 November 2013 06:57   |
atmospheric physics
Messages: 121 Registered: June 2010
|
Senior Member |
|
|
Sorry ... I got my answer. 'charsize' controls the size of text.
Thanks for the clarifications.
On Thursday, November 28, 2013 3:52:41 PM UTC+1, Madhavan Bomidi wrote:
> Thanks ... It works!
>
>
>
> Is it possible to reduce the size of the text (on the .ps file)?
>
>
>
> Thanks in advance.
>
>
>
> On Thursday, November 28, 2013 2:23:20 PM UTC+1, David Fanning wrote:
>
>> Madhavan Bomidi writes:
>
>>
>
>>
>
>>
>
>>> This is very useful and more general code.
>
>>
>
>>>
>
>>
>
>>> One more clarification is required. Can you provide me an example of inserting a text by the side of the symbol plotting with cgPlotS or some other tool?
>
>>
>
>>
>
>>
>
>> Add this code to the end of the example you found on the Gallery page:
>
>>
>
>>
>
>>
>
>> ; Add a label for the restaurant.
>
>>
>
>> xy = map -> Forward(-105.1, 40.6)
>
>>
>
>> loc = Convert_Coord(xy[0], xy[1], /Data, /To_Normal)
>
>>
>
>> cgText, loc[0], loc[1]+0.025, 'Prairie Dog Restaurant', /Normal, $
>
>>
>
>> Alignment=0.5, Color='red', Font=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.")
|
|
|