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

Home » Public Forums » archive » New free DLL for calling Python from IDL!
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: New free DLL for calling Python from IDL! [message #87925 is a reply to message #87920] Mon, 03 March 2014 21:40 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Monday, March 3, 2014 5:06:24 PM UTC-7, Jason Ferrara wrote:
> And to get colors of the wedges...
>
>
>
> IDL> print, (p[0])[0].get_edgecolor()
>
> 0.00000000 0.00000000 0.00000000 1.0000000
>
> IDL> print, (p[0])[0].get_facecolor()
>
> 0.60392157 0.80392157 0.19607843 1.0000000
>
> IDL>
>
>
>
> On Monday, March 3, 2014 6:40:29 PM UTC-5, Chris Torrence wrote:
>
>> On Monday, March 3, 2014 4:37:09 PM UTC-7, ronn kling wrote:
>
>>
>
>>>> But here's a question for Jason or Ronn: once I've created the "p" object, it says it is a "tuple". Is there any way to get properties back out of the object? I tried the following:
>
>>
>
>>
>
>>
>
>> Yes. What I want to do is just:
>
>>
>
>> print, p.colors
>
>>
>
>> Then it will really look like IDL code, and we'll all be horribly confused. :-)
>
>>
>
>> -C

Thanks Jason for the response! I'm having lots of fun playing with python & IDL.
-Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: superresolution
Next Topic: How to find the confidence interval of a variable data at 95% or 66%?

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

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

Total time taken to generate the page: 0.00505 seconds