[R] strange slowness of plot

About this list Date view Thread view Subject view Author view Attachment view

From: apjaworski@mmm.com
Date: Wed 25 Jul 2001 - 05:37:48 EST


Message-id: <OFA7B76EC0.15A3320C-ON86256A93.006A4D3B@mmm.com>

I just ran into this strange behavior.

     y <- rnorm(1000)
     x <- seq(0, length=length(y))

     plot(x, y, type='l', lty=1) - instantaneous
     plot(x, y, type='l', lty=2) - 18s plotting lines + 15s plotting axes
= 33s
     plot(x, y, type='l', lty=3) - 76s ,, + 75s
,, = 151s
     plot(x, y, type='l', lty=4) - 40s ,, + 38s
,, = 78s

A couple of observations:
(1) The plots for lty>1 seem to be rendered in "one chunk", that is a blank
graphics window appears and stays blank until all the lines appear at once.
Then another long wait for axes.
(2) While waiting for the plot, the computer becomes totally unresponsive.
Typical ctr-alt-del does nothing. Even pushing the power button does
nothing. I originally attempted the lty=2 plot with several hundred
thousand observations. The only way I could get my machine back was to
disconnect the power cord!

My system is as follows:
(1) IBM Intellistation with PIII 1GHz, 512Mb of RDRAM, 20Gb SCSI160 drive,
64Mb FireGL graphics card
(2) Windows 2000 Pro
(3) R-1.3.0 (original version)

Andy

__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN 55144-1000
-----
E-mail: apjaworski@mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:21 EST