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

Home » Public Forums » archive » How to access properties of multiple plots in a function graphics window?
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 access properties of multiple plots in a function graphics window? [message #86488 is a reply to message #86471] Wed, 13 November 2013 09:03 Go to previous messageGo to previous message
MP is currently offline  MP
Messages: 15
Registered: March 2006
Junior Member
On Tuesday, November 12, 2013 10:22:02 AM UTC-7, Paul van Delst wrote:
>
> What I want to do is access w and modify the properties of the various
> plots (e.g. font size, legend font size) via the "w" object reference.
>

Hi Paul,

You can access plot properties by NAME. For example, given:

w = window()
for i=0, 5 do begin

!null = plot(/test, color=!color.(i), layout=[3,2,i+1], $
current=w, name=string(i, format='(i2.2)'))
endfor

you can set the color of the fifth plot to red with:

w['04'].color = 'red'

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array into binary array
Next Topic: PSYM=10 + POLYFILL = ?

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

Current Time: Fri Oct 10 01:44:18 PDT 2025

Total time taken to generate the page: 0.02326 seconds