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

Home » Public Forums » archive » Re: object graphics -> eps
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: object graphics -> eps [message #35586] Mon, 07 July 2003 11:24 Go to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Rick,
I am only using ION Script, not ION Java. Do you have a solution?

Haje

--
Dr. Haje Korth
Space Physics Group
The Johns Hopkins University
Applied Physics Laboratory
MS MP3-E128
11100 Johns Hopkins Road
Laurel, MD 20723-6099
USA
Phone: 240-228-4033 (Washington), 443-778-4033 (Baltimore)
Fax: 240-228-0386 (Washington), 443-778-0386 (Baltimore)
e-mail: haje.korth@jhuapl.edu


"Rick Towler" <rtowler@u.washington.edu> wrote in message
news:bec6ut$3416$1@nntp6.u.washington.edu...
> Haje,
>
> Are you using ION or ION Script?
>
> -Rick
>
>
> "Haje Korth" wrote in message ...
>> Nothing about idlgrclipboard mentioned in ION manual. Therefor I
conlcude
>> that this is a bug. I will write up the example and submit it as a bug
>> report. What really sucks though is that there is currently no
possibility
>> of creating postscript output in web applications using ION...
>>
>> Haje
>>
>>
>> "Haje Korth" wrote in message...
>>> David,
>>> ok, I separated the code from my ION application and found that the
>>> clipboard object works with and without the vector keyword in IDL.
>> However,
>>> in ION a plot is ionly created, when the vector keyword is set! I have
> to
>>> check the ION manual whether this is a bug or a feature. I have the
>> feeling
>>> that it is a bug....
>>>
>>> Haje
>>>
>>>
>>> "David Fanning" wrote in message...
>>>> Haje Korth writes:
>>>>
>>>> > this is strange: if I omit the /vector keyword, no file is created
> at
>>> all!
>>>> > Something is fishy here, and the water I am swimming in is still
>>> murky...
>>>>
>>>> Maybe it's just taking a long time to write the file. :-)
>>>>
>>>> No, just kidding. No file!? That is strange, indeed.
>>>> No file *at all*? Maybe white on white? I don't know.
>>>> I'm grasping at straws.
>>>>
>>>> Cheers,
>>>>
>>>> David
>>>> --
>
>
Re: object graphics -> eps [message #35588 is a reply to message #35586] Mon, 07 July 2003 09:25 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Haje,

Are you using ION or ION Script?

-Rick


"Haje Korth" wrote in message ...
> Nothing about idlgrclipboard mentioned in ION manual. Therefor I conlcude
> that this is a bug. I will write up the example and submit it as a bug
> report. What really sucks though is that there is currently no possibility
> of creating postscript output in web applications using ION...
>
> Haje
>
>
> "Haje Korth" wrote in message...
>> David,
>> ok, I separated the code from my ION application and found that the
>> clipboard object works with and without the vector keyword in IDL.
> However,
>> in ION a plot is ionly created, when the vector keyword is set! I have
to
>> check the ION manual whether this is a bug or a feature. I have the
> feeling
>> that it is a bug....
>>
>> Haje
>>
>>
>> "David Fanning" wrote in message...
>>> Haje Korth writes:
>>>
>>>> this is strange: if I omit the /vector keyword, no file is created
at
>> all!
>>>> Something is fishy here, and the water I am swimming in is still
>> murky...
>>>
>>> Maybe it's just taking a long time to write the file. :-)
>>>
>>> No, just kidding. No file!? That is strange, indeed.
>>> No file *at all*? Maybe white on white? I don't know.
>>> I'm grasping at straws.
>>>
>>> Cheers,
>>>
>>> David
>>> --
Re: object graphics -> eps [message #35597 is a reply to message #35588] Mon, 07 July 2003 08:03 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Nothing about idlgrclipboard mentioned in ION manual. Therefor I conlcude
that this is a bug. I will write up the example and submit it as a bug
report. What really sucks though is that there is currently no possibility
of creating postscript output in web applications using ION...

Haje


"Haje Korth" <haje.korth@jhuapl.edu> wrote in message
news:bec0nh$gta$1@houston.jhuapl.edu...
> David,
> ok, I separated the code from my ION application and found that the
> clipboard object works with and without the vector keyword in IDL.
However,
> in ION a plot is ionly created, when the vector keyword is set! I have to
> check the ION manual whether this is a bug or a feature. I have the
feeling
> that it is a bug....
>
> Haje
>
>
> "David Fanning" <david@dfanning.com> wrote in message
> news:MPG.197330ab65b67fd598969f@news.frii.com...
>> Haje Korth writes:
>>
>>> this is strange: if I omit the /vector keyword, no file is created at
> all!
>>> Something is fishy here, and the water I am swimming in is still
> murky...
>>
>> Maybe it's just taking a long time to write the file. :-)
>>
>> No, just kidding. No file!? That is strange, indeed.
>> No file *at all*? Maybe white on white? I don't know.
>> I'm grasping at straws.
>>
>> 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: object graphics -> eps [message #35598 is a reply to message #35597] Mon, 07 July 2003 07:41 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
David,
ok, I separated the code from my ION application and found that the
clipboard object works with and without the vector keyword in IDL. However,
in ION a plot is ionly created, when the vector keyword is set! I have to
check the ION manual whether this is a bug or a feature. I have the feeling
that it is a bug....

Haje


"David Fanning" <david@dfanning.com> wrote in message
news:MPG.197330ab65b67fd598969f@news.frii.com...
> Haje Korth writes:
>
>> this is strange: if I omit the /vector keyword, no file is created at
all!
>> Something is fishy here, and the water I am swimming in is still
murky...
>
> Maybe it's just taking a long time to write the file. :-)
>
> No, just kidding. No file!? That is strange, indeed.
> No file *at all*? Maybe white on white? I don't know.
> I'm grasping at straws.
>
> 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: object graphics -> eps [message #35599 is a reply to message #35598] Mon, 07 July 2003 07:25 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> this is strange: if I omit the /vector keyword, no file is created at all!
> Something is fishy here, and the water I am swimming in is still murky...

Maybe it's just taking a long time to write the file. :-)

No, just kidding. No file!? That is strange, indeed.
No file *at all*? Maybe white on white? I don't know.
I'm grasping at straws.

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: object graphics -> eps [message #35600 is a reply to message #35599] Mon, 07 July 2003 07:03 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
David,
this is strange: if I omit the /vector keyword, no file is created at all!
Something is fishy here, and the water I am swimming in is still murky...

Haje

"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1973288cdc390fe298969e@news.frii.com...
> Haje Korth writes:
>
>> I am trying to create an eps graphic from an object viewgroup. The
object
>> appears nicely using idlgrwindow and idlgrbuffer (used in ION
applications).
>> However, with idlgrclipboard the objects are placed totally wrong, i.e.
on
>> top of each other. I used the commands suggested on David's website:
>>
>> clipboard = Obj_New("IDLgrClipboard", Dimensions=[4,3], Units=1, $
>> Resolution=[2.54/300., 2.54/300.])
>> clipboard->Draw, theView, Filename='myfile.eps', /PostScript, /Vector
>>
>> Does anyone know what I do wrong? If somebody knows a better way, I will
>> take that, too!
>
> I think I would try removing the VECTOR keyword. Vector output is
> a bit of a hack, thrown in to appease some of use who were displeased
> about the size of PostScript output. Until there is a true vector
> pipeline from object graphics to PostScript the chance of this working
> with any but the simplest object graphics programs is probably slim.
> This should work OK without the keyword. Just be sure you have plenty
> of disk space. :-)
>
> 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: object graphics -> eps [message #35601 is a reply to message #35600] Mon, 07 July 2003 06:50 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> I am trying to create an eps graphic from an object viewgroup. The object
> appears nicely using idlgrwindow and idlgrbuffer (used in ION applications).
> However, with idlgrclipboard the objects are placed totally wrong, i.e. on
> top of each other. I used the commands suggested on David's website:
>
> clipboard = Obj_New("IDLgrClipboard", Dimensions=[4,3], Units=1, $
> Resolution=[2.54/300., 2.54/300.])
> clipboard->Draw, theView, Filename='myfile.eps', /PostScript, /Vector
>
> Does anyone know what I do wrong? If somebody knows a better way, I will
> take that, too!

I think I would try removing the VECTOR keyword. Vector output is
a bit of a hack, thrown in to appease some of use who were displeased
about the size of PostScript output. Until there is a true vector
pipeline from object graphics to PostScript the chance of this working
with any but the simplest object graphics programs is probably slim.
This should work OK without the keyword. Just be sure you have plenty
of disk space. :-)

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: object graphics -> eps [message #35762 is a reply to message #35586] Tue, 08 July 2003 14:08 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
I thought I might... But I don't.

:(

-Rick


"Haje Korth" wrote in message...
> Rick,
> I am only using ION Script, not ION Java. Do you have a solution?
>
> Haje
>
> --
> Dr. Haje Korth
> Space Physics Group
> The Johns Hopkins University
> Applied Physics Laboratory
> MS MP3-E128
> 11100 Johns Hopkins Road
> Laurel, MD 20723-6099
> USA
> Phone: 240-228-4033 (Washington), 443-778-4033 (Baltimore)
> Fax: 240-228-0386 (Washington), 443-778-0386 (Baltimore)
> e-mail: >
>
> "Rick Towler" wrote in message...
>> Haje,
>>
>> Are you using ION or ION Script?
>>
>> -Rick
>>
>>
>> "Haje Korth" wrote in message ...
>>> Nothing about idlgrclipboard mentioned in ION manual. Therefor I
> conlcude
>>> that this is a bug. I will write up the example and submit it as a bug
>>> report. What really sucks though is that there is currently no
> possibility
>>> of creating postscript output in web applications using ION...
>>>
>>> Haje
>>>
>>>
>>> "Haje Korth" wrote in message...
>>>> David,
>>>> ok, I separated the code from my ION application and found that the
>>>> clipboard object works with and without the vector keyword in IDL.
>>> However,
>>>> in ION a plot is ionly created, when the vector keyword is set! I
have
>> to
>>>> check the ION manual whether this is a bug or a feature. I have the
>>> feeling
>>>> that it is a bug....
>>>>
>>>> Haje
>>>>
>>>>
>>>> "David Fanning" wrote in message...
>>>> > Haje Korth writes:
>>>> >
>>>> > > this is strange: if I omit the /vector keyword, no file is
created
>> at
>>>> all!
>>>> > > Something is fishy here, and the water I am swimming in is still
>>>> murky...
>>>> >
>>>> > Maybe it's just taking a long time to write the file. :-)
>>>> >
>>>> > No, just kidding. No file!? That is strange, indeed.
>>>> > No file *at all*? Maybe white on white? I don't know.
>>>> > I'm grasping at straws.
>>>> >
>>>> > Cheers,
>>>> >
>>>> > David
>>>> > --
>>
>>
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Skymap and Array Problems
Next Topic: Re: Speed test on Mac G5, anyone?

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

Current Time: Wed Oct 08 11:42:56 PDT 2025

Total time taken to generate the page: 0.00571 seconds