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

Home » Public Forums » archive » Re: Problems when printing ps plots from C
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
Re: Problems when printing ps plots from C [message #41898] Thu, 02 December 2004 15:04
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Thu, 02 Dec 2004 10:39:22 -0800, Juan I. Cicuendez wrote:

> David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1c18bf681ea8afd0989891@news.frii.com>...
>> Juan I. Cicuendez writes:
>>
>>> I am using callable IDL from C without any graphical window and I
>>> found problems when trying to output the plot in postscript format (I
>>> am use object graphics) to create the plot. So far, I get a plot with
>>> the correct axis, polylines but all the fonts are missing. I also try
>>> to change the IDLgrFonts from Helvetica to one of the vector fonts but
>>> in this case nothing is drawn. I am using a IDLgrClipboard object to
>>> convert the IDLgrView object into a postscript file.
>>>
>>> Has anyone bumped into a similar problem? Any ideas?
>>
>> Yes, but IDL 6.1.1 cleared it up. What version are you
>> using?
>>
>> Cheers,
>>
>> David
>
> Ok, I am using IDL 6.0. Any workaround?

Although this symptom does look suspiciously like the problem David is
referring to, I don't think it is your problem because you are using IDL
6.0.

I would guess that your C program is running in an environment that does
not have the IDL_DIR environment variable set. The IDL routines you are
calling cannot find the fonts because this environment variable is not set
and they have no idea where to look. Try setting IDL_DIR to the IDL
installation directory.

Karl
Re: Problems when printing ps plots from C [message #41905 is a reply to message #41898] Thu, 02 December 2004 10:39 Go to previous message
jicicuendez is currently offline  jicicuendez
Messages: 12
Registered: November 2001
Junior Member
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1c18bf681ea8afd0989891@news.frii.com>...
> Juan I. Cicuendez writes:
>
>> I am using callable IDL from C without any graphical window and I
>> found problems when trying to output the plot in postscript format (I
>> am use object graphics) to create the plot. So far, I get a plot with
>> the correct axis, polylines but all the fonts are missing. I also try
>> to change the IDLgrFonts from Helvetica to one of the vector fonts but
>> in this case nothing is drawn. I am using a IDLgrClipboard object to
>> convert the IDLgrView object into a postscript file.
>>
>> Has anyone bumped into a similar problem? Any ideas?
>
> Yes, but IDL 6.1.1 cleared it up. What version are you
> using?
>
> Cheers,
>
> David

Ok, I am using IDL 6.0. Any workaround?
Cheers,
Juan
Re: Problems when printing ps plots from C [message #41911 is a reply to message #41905] Thu, 02 December 2004 11:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Juan I. Cicuendez writes:

> Ok, I am using IDL 6.0. Any workaround?

None that I know of. The upgrade is free. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Problems when printing ps plots from C [message #41914 is a reply to message #41905] Thu, 02 December 2004 04:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Juan I. Cicuendez writes:

> I am using callable IDL from C without any graphical window and I
> found problems when trying to output the plot in postscript format (I
> am use object graphics) to create the plot. So far, I get a plot with
> the correct axis, polylines but all the fonts are missing. I also try
> to change the IDLgrFonts from Helvetica to one of the vector fonts but
> in this case nothing is drawn. I am using a IDLgrClipboard object to
> convert the IDLgrView object into a postscript file.
>
> Has anyone bumped into a similar problem? Any ideas?

Yes, but IDL 6.1.1 cleared it up. What version are you
using?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Indices ?
Next Topic: Cluster analysis

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

Current Time: Wed Oct 08 13:53:22 PDT 2025

Total time taken to generate the page: 0.00516 seconds