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

Home » Public Forums » archive » Rendering method software vs hardware
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: Rendering method software vs hardware [message #89764 is a reply to message #89761] Tue, 02 December 2014 10:48 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, December 2, 2014 7:35:46 AM UTC-7, Helder wrote:
> Ok, so I spent some time looking for the time draining procedure and found that I set a lot of graphic properties after changing image. This results in a huge waste of time. I'll try to make some sample code to show what I'm having problems with and post tomorrow some code+results.
> At the moment, it takes .5 sec to get images and plots shown and 2.5 seconds to set a bunch of properties (hide, color, gridstyle,...)
>
>
> Cheers, Helder

Hi Helder,

Another option is to disable redraws until all of your properties are set. For example:

p = PLOT(/TEST)
p.Refresh, /DISABLE
p.COLOR = 'red'
p.LINESTYLE = 'dashed'
...
p.Refresh

Hope this helps!

Cheers,
Chris
Exelis
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: make all array values equal to zero
Next Topic: extraction of harmonic terms from FFT in idl

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

Current Time: Wed Oct 08 17:47:01 PDT 2025

Total time taken to generate the page: 0.27963 seconds