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

Home » Public Forums » archive » Map Projected Contour plot - function graphics - how to change the contoured data....
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: Map Projected Contour plot - function graphics - how to change the contoured data.... [message #92444 is a reply to message #92414] Thu, 17 December 2015 09:36 Go to previous message
Geo is currently offline  Geo
Messages: 8
Registered: December 2015
Junior Member
On Friday, December 11, 2015 at 9:47:33 AM UTC-7, Chris Torrence wrote:
> On Wednesday, December 2, 2015 at 12:41:15 PM UTC-7, Geo wrote:
>> Incidentally
>>
>> The reason I was using name="the_contour_plot" was because the contour data update I was wanting happens within a widget event.
>> So, here's my widget event code. I'm pulling back the reference to cn by using it's name. If I get rid of the name field - how else can I reference cn?
>>
>> wDraw = WIDGET_INFO(event.top, FIND_BY_UNAME = 'DRAW')
>> WIDGET_CONTROL, wDraw, GET_VALUE = graphicWin
>> cn = graphicWin['the_contour_plot']
>> cn.setdata, data2
>>
>> Cheers
>>
>> George.
>
> Hi George,
>
> I fixed a bug in the IDL code.
>
> If you want to use the name, then the other way to workaround the problem is to not specify the map projection when you create the contour. You actually don't need to specify the map projection - as long as you say that the grid units are in degrees then contour will automatically use the current map projection.
>
> Cheers,
> Chris

Thanks Chris

I have it working now (by not using the 'name' feature)

Cheers

George.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: chrome browser update
Next Topic: Globe ('satellite') map projection in New Graphics....

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

Current Time: Wed Oct 08 11:39:58 PDT 2025

Total time taken to generate the page: 0.00459 seconds