Re: PS file is huge! [message #71027] |
Tue, 25 May 2010 14:53  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Justin Cantrell writes:
> I'm using: plotsym,0,thick=4,/fill
Yes, each circle has 50 vertices. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|
Re: PS file is huge! [message #71029 is a reply to message #71027] |
Tue, 25 May 2010 14:43   |
Justin Cantrell
Messages: 5 Registered: May 2010
|
Junior Member |
|
|
I'm using: plotsym,0,thick=4,/fill
On May 25, 5:41 pm, David Fanning <n...@dfanning.com> wrote:
> Justin Cantrell writes:
>> Why are my PS files getting so large? I'm doing a simple plot of ~25
>> points and the file size is 7.5MB!
>> Here's my code:
>
>> DEVICE,file=string('cluster1.ps'),bits=8
>> plot,dist,fe,psym=8,yrange=[-0.2,0.3],ytitle='[Fe/H]',xtitle ='Distance
>> (pc)',charthick=4,thick=3,symsize=1,ystyle=1
>> oplot,x,two,linestyle=2
>> oplot,x,three,linestyle=2
>> oplot,x,half,linestyle=2
>> xyouts,500,two+.005,'2X',charthick=4
>> xyouts,500,three+.005,'3X',charthick=4
>> xyouts,500,half+.005,'0.5X',charthick=4
>
>> temp=findgen(11)+1
>> device,/close
>
> I presume because of all those polygons you are
> using as your symbol. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")- Hide quoted text -
>
> - Show quoted text -
|
|
|
Re: PS file is huge! [message #71030 is a reply to message #71029] |
Tue, 25 May 2010 14:41   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Justin Cantrell writes:
> Why are my PS files getting so large? I'm doing a simple plot of ~25
> points and the file size is 7.5MB!
> Here's my code:
>
> DEVICE,file=string('cluster1.ps'),bits=8
> plot,dist,fe,psym=8,yrange=[-0.2,0.3],ytitle='[Fe/H]',xtitle ='Distance
> (pc)',charthick=4,thick=3,symsize=1,ystyle=1
> oplot,x,two,linestyle=2
> oplot,x,three,linestyle=2
> oplot,x,half,linestyle=2
> xyouts,500,two+.005,'2X',charthick=4
> xyouts,500,three+.005,'3X',charthick=4
> xyouts,500,half+.005,'0.5X',charthick=4
>
> temp=findgen(11)+1
> device,/close
I presume because of all those polygons you are
using as your symbol. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|
Re: PS file is huge! [message #71105 is a reply to message #71027] |
Wed, 26 May 2010 10:01  |
Justin Cantrell
Messages: 5 Registered: May 2010
|
Junior Member |
|
|
Ok, I dropped the plotsym and changed to psym=6. File size is still
7.6MB. I'm lost.
On May 25, 5:53 pm, David Fanning <n...@dfanning.com> wrote:
> Justin Cantrell writes:
>> I'm using: plotsym,0,thick=4,/fill
>
> Yes, each circle has 50 vertices. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|