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

Home » Public Forums » archive » EPS output from functional graphic 'LARGE' size
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: EPS output from functional graphic 'LARGE' size [message #90460 is a reply to message #90442] Tue, 03 March 2015 09:12 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Monday, March 2, 2015 at 9:00:05 PM UTC-7, Haojie Xu wrote:
> Hi there,
>
> I use IDL functional graphic to create eps file inserted to latex
> but however, I found the size of eps file is way too large.
> say,
> IDL> x = [0:100:0.1]
> IDL> pl = plot(x,sin(x),'-b')
> IDL> pl.Save,'test_sin.eps'
>
> it ends up with a file like 46Megabytes file.
> For pdf output file, it seems okay, reasonable size but I found preview has some issue to opensome pdf output file from IDL.
>
> Is there any suggestion that I can use functional graphics to produce elegant eps file?
>
>
> Thanks
> H

Hi H,

It looks like it is defaulting to "bitmap" format instead of "vector". I don't know why. When I run your commands I get a tiny EPS file (only about 24 KB). Try forcing it to use vector:

pl.Save,'test_sin.eps',bitmap=0

Cheers,
Chris
ExelisVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function fitting in IDL
Next Topic: Semi-transparent filled contours with direct graphics

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

Current Time: Wed Oct 08 15:59:53 PDT 2025

Total time taken to generate the page: 0.00443 seconds