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

Home » Public Forums » archive » Save big plots into any file
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: Save big plots into any file [message #92279 is a reply to message #92277] Tue, 10 November 2015 07:12 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Monday, November 9, 2015 at 8:52:07 PM UTC-6, luc...@gmail.com wrote:
> Hello all
> I have a plotting routine that take 6 different files and plots them in an multigraphic window. Each plot have at least 10^6 points.

Certainly, you can test this, outside of your current, mulitgraphic workflow to try to answer the question:

p= PLOT(RANDOMN(1L, 1000000), layout=[1, 2, 1])
p2= PLOT(RANDOMN(1L, 1000000), layout=[1, 2, 2], /CURR)
tic
;p.symbol=4
p.save, 'test.png'
toc

For me, this took 60 seconds. If I actually plot the points (by adding p.symbol=4), then it takes 121 seconds.

You can then try to add plots to see how the time changes:

You can then add a second plot:
p= PLOT(RANDOMN(1L, 1000000), layout=[1, 2, 1])
p2= PLOT(RANDOMN(1L, 1000000), layout=[1, 2, 2], /CURR)
tic
;p.symbol=4 & p2.symbol =4
p.save, 'test.png'
toc

Without plotting the individual points, it takes 55 seconds (?!); plotting each point, it takes 175 seconds.

These simple tests will allow you to figure out where the problem may be, and help answer your questions.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Create ortho-rectified radiance image from HDF5 data
Next Topic: Data -vs- Time Add trend line

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

Current Time: Wed Oct 08 13:35:49 PDT 2025

Total time taken to generate the page: 0.00443 seconds