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

Home » Public Forums » archive » Output to fig format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Output to fig format [message #25056] Sun, 13 May 2001 20:15 Go to next message
Dan Blair is currently offline  Dan Blair
Messages: 5
Registered: May 2001
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am thinking about writing an idl script to directly write things to xifg
format without involving a spawn command to pstoedit (this is under linux/unix).&nbsp;
Before I set off on this big waste of time I&nbsp;was wondering if anyone
else had already done it....
<p>please let me know.&nbsp; If I&nbsp;get no responce I&nbsp;will go ahead
and start
<p>Best
<br>Dan
<pre>--&nbsp;
============================================================ ============
Daniel Blair&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; Clark University&nbsp;
Nonlinear Dynamics Lab&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; 508-793-7707
950 Main Street&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blair@nls1.clarku.edu
Worcester, MA&nbsp; 01610-1477&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://nls1.clarku.edu/~blair">http://nls1.clarku.edu/~blair</A>
============================================================ ============ </pre>
&nbsp;</html>
Re: output [message #34421 is a reply to message #25056] Tue, 18 March 2003 07:39 Go to previous messageGo to next message
msienkiewicz is currently offline  msienkiewicz
Messages: 8
Registered: October 2000
Junior Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.18e04974d40aadd9989b1e@news.frii.com>...
> tomson (tom2959@21cn.com) writes:
>
>> Hi,PS output is very good. But this form cannot be used in Word.
>
> Humm. That would be news to me and probably a number
> of other authors who thought it worked pretty darn
> well. :-(
>
> Maybe you should have a look at some of these PostScript
> tips:
>
> http://www.dfanning.com/documents/tips.html#PostScript
>

As it happens someone was asking me the other day about inserting IDL
postscript into Word. I did some checking around and I think it is
necessary to install graphics filters (not included in the default
install) in order to import EPS in Word. I saw something about this
on the Microsoft web site:
<http://support.microsoft.com/default.aspx?scid=kb;en-us;235928>

Tomson, you can check on your Word install disk if you have it
available to see if you can install the filter. Then you can check up
on David's excellent tips.

Of course if you can't install the graphics filter for some reason I'd
recommend following Reimar's suggestion and checking Google groups for
the previous discussion. (That's exactly what I did when the question
came up the other day.)

Regards,

Meta
Re: output [message #34424 is a reply to message #25056] Tue, 18 March 2003 05:16 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Reimar Bauer (R.Bauer@fz-juelich.de) writes:

> We are using pstoimg or convert to convert ps into an image if it is
> necessary to use word.

Humm. Well, I am just loading the files directly into
Word with the Insert -> Picture -> From File and
then I select the Encapsulated PostScript conversion
process, and it works spectacularly. Microsoft is even
smart enough to make the PostScript preview from
the pure PostScript file I send it.

IDL 5.6 and Microsoft Word 2002 on Windows 2000.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: output [message #34426 is a reply to message #25056] Tue, 18 March 2003 00:02 Go to previous messageGo to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
No Message Body
Re: output [message #34427 is a reply to message #25056] Mon, 17 March 2003 23:09 Go to previous messageGo to next message
tomson is currently offline  tomson
Messages: 39
Registered: March 2003
Member
I mean PS cannot be inserted into word.

Adobe can output CGM(Ansi CGM 3.0). Idl can output CGM, but I donot know how
to choose font. Maybe truetype font cannot be used in CGM?(!p.font=1 &
DEVICE, SET_FONT='times',/tt_font ??ERROR)

"David Fanning" <david@dfanning.com> д����Ϣ����
:MPG.18e04974d40aadd9989b1e@news.frii.com...
> tomson (tom2959@21cn.com) writes:
>
>> Hi,PS output is very good. But this form cannot be used in Word.
>
> Humm. That would be news to me and probably a number
> of other authors who thought it worked pretty darn
> well. :-(
>
> Maybe you should have a look at some of these PostScript
> tips:
>
> http://www.dfanning.com/documents/tips.html#PostScript
>
>> When I use
>> adobe to open PS file and save it as CGM or EMF, sometimes the new file
>> looks not the same as PS file. What is the matter?
>
> At the risk of stating the obvious, it's not, well, PostScript. :-)
>
> By the way, are you talking about the same CGM format that
> was state-of-the-art in the 1970's?
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: output [message #34429 is a reply to message #25056] Mon, 17 March 2003 20:07 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
tomson (tom2959@21cn.com) writes:

> Hi,PS output is very good. But this form cannot be used in Word.

Humm. That would be news to me and probably a number
of other authors who thought it worked pretty darn
well. :-(

Maybe you should have a look at some of these PostScript
tips:

http://www.dfanning.com/documents/tips.html#PostScript

> When I use
> adobe to open PS file and save it as CGM or EMF, sometimes the new file
> looks not the same as PS file. What is the matter?

At the risk of stating the obvious, it's not, well, PostScript. :-)

By the way, are you talking about the same CGM format that
was state-of-the-art in the 1970's?

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: output [message #34515 is a reply to message #34421] Tue, 18 March 2003 16:57 Go to previous message
tomson is currently offline  tomson
Messages: 39
Registered: March 2003
Member
I can insert EPS into word and it looks good on the screen. When I print
the file, it looks not so good as file by inserting WMF or CGM(vector form)
figure. So I always convert PS to WMF. But sometimes the converted figure
is not the same as original one. I am puzzled.

By the way, idl can produce CGM and WMF figure. But they cannot be
controlled easily, sometimes the figure cannot be used(all black....).


"Meta Sienkiewicz" <msienkiewicz@yahoo.com>
??????:c005feb7.0303180739.f7b8c54@posting.google.com...
> David Fanning <david@dfanning.com> wrote in message
news:<MPG.18e04974d40aadd9989b1e@news.frii.com>...
>> tomson (tom2959@21cn.com) writes:
>>
>>> Hi,PS output is very good. But this form cannot be used in Word.
>>
>> Humm. That would be news to me and probably a number
>> of other authors who thought it worked pretty darn
>> well. :-(
>>
>> Maybe you should have a look at some of these PostScript
>> tips:
>>
>> http://www.dfanning.com/documents/tips.html#PostScript
>>
>
> As it happens someone was asking me the other day about inserting IDL
> postscript into Word. I did some checking around and I think it is
> necessary to install graphics filters (not included in the default
> install) in order to import EPS in Word. I saw something about this
> on the Microsoft web site:
> <http://support.microsoft.com/default.aspx?scid=kb;en-us;235928>
>
> Tomson, you can check on your Word install disk if you have it
> available to see if you can install the filter. Then you can check up
> on David's excellent tips.
>
> Of course if you can't install the graphics filter for some reason I'd
> recommend following Reimar's suggestion and checking Google groups for
> the previous discussion. (That's exactly what I did when the question
> came up the other day.)
>
> Regards,
>
> Meta
Re: output [message #34517 is a reply to message #34424] Tue, 18 March 2003 11:24 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.18e0ca208d5304a4989b1f@news.frii.com...
> ...Microsoft is even
> smart enough to make the PostScript preview from
> the pure PostScript file I send it.

That's a new one on me!

> IDL 5.6 and Microsoft Word 2002 on Windows 2000.

It doesn't do that in Word 2000 or earlier. Do you think it's new to Word
2002 or do you have some add-on software installed?


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Manipulating data from compiled FORTRAN Code
Next Topic: Re: Screenshot the widget

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

Current Time: Wed Oct 08 15:27:18 PDT 2025

Total time taken to generate the page: 0.00662 seconds