Re: How to display single orbits of satellite data in function graphics? [message #84162 is a reply to message #84121] |
Thu, 02 May 2013 07:07   |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
On 05/02/2013 02:09 PM, David Fanning wrote:
> Coyote Graphics will not produce much of a Wow! factor
Hi David,
my point was not to criticize CG (I am a big fan ;), but rather to agree
with Chris that plotting 790,000 filled points on the screen cannot be fast.
Actually, following code makes my machine crash:
n = 793647
lon = RANDOMU(seed,n)*360
lat = RANDOMU(seed,n)*180
tic
cgLoadCT, 39
cgWindow
cgPLOT, lon,lat, PSYM=16, SYMSIZE=0.2, /WINDOW
toc
while this:
n = 793647
lon = RANDOMU(seed,n)*360
lat = RANDOMU(seed,n)*180
tic
cgLoadCT, 39
cgPLOT, lon,lat, PSYM=16, SYMSIZE=0.2, OUTPUT='t.png'
toc
needs 66 secs to compute...
In all cases, plotting 790,000 filled points doesn't make much sense to
me, but sometimes one cannot decide how many points are going to be
plotted.
I have the same issue with a scatterplot I am making for a publication
(~50000 points). If I save this as an eps the plot is 6Mb large!!! As a
pdf it is 2.3 Mb but still too large for a publication (besides, it
takes too long to render in the PDF reader). So I could decide to plot
only 10% of the points. To be honest, the information on the plot
doesn't get lost and is not falsified, but still for a publication you'd
rather want to show "all" the data... Second option is going for PNG,
but in publications I think that vector format should be the norm...
|
|
|