SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Christian M. <mee...@un...> - 2006年09月28日 13:56:24
Hi,
I'd like to write a paper with figures in eps format. Since the paper is for 
one of Elseviers journals the eps-figures have to meet the following 
requirements:
- all colors have to be in the rgb color space - this seems to be true for the 
files I generate.
- it should include a 8bit preview/header at a resolution of 72dpi - no idea 
how to generate this
- allowed fonts are: Arial, Courier, Helvetica, Times, Symbol - this is 
something I can set in the rc file, although I have no idea what is true in 
latex rendered parts
Can somebody tell me please, whether matplotlib indeed creates colors in the 
rgb color space and answer the other two questions, too? Would be really 
great ...
TIA
Christian
From: John H. <jdh...@ac...> - 2006年09月28日 14:05:23
>>>>> "Christian" == Christian Meesters <mee...@un...> writes:
 Christian> Hi, I'd like to write a paper with figures in eps
 Christian> format. Since the paper is for one of Elseviers
 Christian> journals the eps-figures have to meet the following
 Christian> requirements: - all colors have to be in the rgb color
 Christian> space - this seems to be true for the files I generate.
 Christian> - it should include a 8bit preview/header at a
 Christian> resolution of 72dpi - no idea how to generate this -
 Christian> allowed fonts are: Arial, Courier, Helvetica, Times,
 Christian> Symbol - this is something I can set in the rc file,
 Christian> although I have no idea what is true in latex rendered
 Christian> parts
 Christian> Can somebody tell me please, whether matplotlib indeed
 Christian> creates colors in the rgb color space and answer the
 Christian> other two questions, too? Would be really great ...
Yes, it does use the RGB colorspace, but we would like to support
other colorspaces too.
As for the fonts, yes, you can control this with rc.
As for the preview header, I suspect there arte 3rd part tools that
can do this (ImageMagick?). We should be able to do it ourself with
agg, but it would require someone to dig in and figure out the spec.
JDH
From: Alan G I. <ai...@am...> - 2006年09月28日 14:09:50
On 2006年9月28日, Christian Meesters apparently wrote: 
> - it should include a 8bit preview/header at a resolution of 72dpi - no idea 
> how to generate this 
I think you can use
http://www.cs.wisc.edu/~ghost/gsview/epstool.htm
but do not know what dpi control you'll have.
hth,
Alan Isaac
From: Christian M. <mee...@un...> - 2006年09月28日 14:49:52
Thanks, John and Alan,
That was fast!
> As for the fonts, yes, you can control this with rc.
Sure, but what about the latex rendered parts? (I wonder whether it actually 
matters, but I'd like to be sure, because there so little time left ...)
> On 2006年9月28日, Christian Meesters apparently wrote:
> > - it should include a 8bit preview/header at a resolution of 72dpi - no
> > idea how to generate this
>
> I think you can use
> http://www.cs.wisc.edu/~ghost/gsview/epstool.htm
> but do not know what dpi control you'll have.
It works, thanks. The installation is easy. Setting the resolution in dpi can 
be done by giving the flag --dpi <resolution>. 
Cheers
Christian
From: Darren D. <dd...@co...> - 2006年10月03日 20:35:14
On Thursday 28 September 2006 10:51 am, Christian Meesters wrote:
> Thanks, John and Alan,
>
> That was fast!
>
> > As for the fonts, yes, you can control this with rc.
>
> Sure, but what about the latex rendered parts? (I wonder whether it
> actually matters, but I'd like to be sure, because there so little time
> left ...)
If you set your rc settings to one of the latex's psnfss fonts (times, 
helvetica, courier are all supported), you will get the fonts you are looking 
for. See http://www.scipy.org/Cookbook/Matplotlib/UsingTex.
> > On 2006年9月28日, Christian Meesters apparently wrote:
> > > - it should include a 8bit preview/header at a resolution of 72dpi - no
> > > idea how to generate this
> >
> > I think you can use
> > http://www.cs.wisc.edu/~ghost/gsview/epstool.htm
> > but do not know what dpi control you'll have.
>
> It works, thanks. The installation is easy. Setting the resolution in dpi
> can be done by giving the flag --dpi <resolution>.
>
> Cheers
> Christian
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Darren S. Dale, Ph.D.
dd...@co...
From: Christian M. <mee...@un...> - 2006年09月28日 21:04:52
> As for the preview header, I suspect there arte 3rd part tools that
> can do this (ImageMagick?). We should be able to do it ourself with
> agg, but it would require someone to dig in and figure out the spec.
>
> JDH
One last remark on this: Since so many journals demand this, would it be worth 
a feature request? (I don't have the time nor the skills to work on this.) 
One may think of this as one wishes (don't like these publishing companies 
and their demands, either), but matplotlib wants to enable its users to 
produce figures ready for publication, right?
Christian 
From: John H. <jdh...@ac...> - 2006年09月29日 01:54:24
>>>>> "Christian" == Christian Meesters <mee...@un...> writes:
 Christian> One last remark on this: Since so many journals demand
 Christian> this, would it be worth a feature request? (I don't
 Christian> have the time nor the skills to work on this.) One may
 Christian> think of this as one wishes (don't like these
 Christian> publishing companies and their demands, either), but
 Christian> matplotlib wants to enable its users to produce figures
 Christian> ready for publication, right?
Certainly -- just add a feature request to the sf site and post the
same to the users or devel list. Can't promise that we have the time
either (though we may have the skills) but maybe someone will take it
up. Darren Dale has done the most work of late on the PS backend and
he is currently on vacation -- maybe when he returns he'll take it up.
JDH
From: Theodore R D. <dr...@jp...> - 2006年09月28日 21:56:26
FYI I don't know what the current state of affairs was but I
looked into this a little bit about 5 or so years ago. Adobe has
a spec for what the preview image in an EPS file is suppose to be
(I can't remember the details on what it is but you can google
for the EPS spec) but I don't think anyone really followed it. 
On Mac's, everything produced a PICT image and on Windows
everything produced something else (I forget exactly what it
was). In short, at the time I checked it out, it was very
difficult to make a high quality preview image that would work
well on a Mac and a Windows box. 
It would be nice if things were different now. We do a lot of
plotting that ends up in presentations and it would be nice if
you could embed an EPS in the presentation with a high quality
preview.
Ted
---------Included Message----------
>Date: 28-sep-2006 14:04:55 -0700
>From: "Christian Meesters" <mee...@un...>
>To: <mat...@li...>
>Subject: Re: [Matplotlib-users] eps file format
>
>> As for the preview header, I suspect there arte 3rd part tools
that
>> can do this (ImageMagick?). We should be able to do it
ourself with
>> agg, but it would require someone to dig in and figure out the
spec.
>>
>> JDH
>One last remark on this: Since so many journals demand this,
would it be worth 
>a feature request? (I don't have the time nor the skills to work
on this.) 
>One may think of this as one wishes (don't like these publishing
companies 
>and their demands, either), but matplotlib wants to enable its
users to 
>produce figures ready for publication, right?
>
>Christian 
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance
to share your
>opinions on IT & business topics through brief surveys -- and
earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Matplotlib-users mailing list
>Mat...@li...
>https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
---------End of Included Message----------
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /