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

Home » Public Forums » archive » Postscript line thickness
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
Postscript line thickness [message #35153] Mon, 19 May 2003 05:52 Go to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Good morning everyone,
Does anyone know how the value of the line thickness keyword translates to
points in the Postscript device. I am getting so tired of having to change
all my graphics by hand for publication. Your help out of my misery is
greatly appreciated!

Greetings,
Haje

--
Re: Postscript line thickness [message #35244 is a reply to message #35153] Fri, 23 May 2003 05:51 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Thanks for the detailed info! Haje


"Reimar Bauer" <R.Bauer@fz-juelich.de> wrote in message
news:bajc64$dm9i$1@zam602.zam.kfa-juelich.de...
> Haje Korth wrote:
>
>> Reimar,
>> I am not sure whether I want to make significant changes to my already
too
>> complicated application. However, I would like to take a look at your
>> plotxy package and consider it for future projects. The web site you
gave
>> me contains a lot of examples but I did not see the actual package
offered
>> for download. Could you please post this link for us?
>>
>> Greetings,
>> Haje
>>
>>
>
> Dear Haje,
>
> the whole source could you find in our library at
> http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
> I am working at the moment on the next version of our library for
> publishing.
>
> In February we started to set up a compiled library routine of all needed
> source modules of the plot library. Because this is much easier as
> publishing the whole library, (using the compile routine developed 2001)
>
> At http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_bin/plotpr epare.sav
> you will find the actual version I builded today.
> This binary file depends always on our working library. One is useable
half
> a year long. Then it stops. This is only for preventing to have a real old
> one.
>
>
> IDL> plotprepare,plot,dim=1
> % Restored file: PLOTPREPARE.
> % PLOTPREPARE: Copyright: FZ-Juelich, ICG-I,ICG-II
> % PLOTPREPARE: Further Information:
> http://www.fz-juelich.de/icg/icg-i/idl_icgl
> ib/idl_lib_intro.html
> % PLOTPREPARE: BUILD DATE: 2003-05-22 20:41:20 000
>
>
> A sav file is always same called as the depending pro file
> If you have this in your search path you should be able to run every of
the
> examples which does not need datafiles from us.
>
>
> In 2000 I have written a publication in German about this package and
> others.
> http://www.fz-juelich.de/zb/text/publikation/xjuel3786.html
>
>
> The timedata format was defined by Ray Sterner(JHUAPL) and he named it
> julian seconds. ESA renamed it to MJD (Modified Julian Day).
> It is defined as seconds since 2000-01-01 00:00:00 UTC. Some routines
inside
> the sav file are from the JHUAPL library.
>
> A list of all compiled routines you get after loading plotprepare with
> IDL> PRINT,(plotprepare_info()).routines
>
>
> This file may be interesting too
> http://www.fz-juelich.de/icg/icg-i/idl_icglib/most_important .html
>
>
> And here at least one more example:
>
>
> PRO plot_test
> x=DINDGEN(100)+string2js(/now)
> y=SIN(FINDGEN(100)/10.)
> y2=COS(FINDGEN(100)/10.)
>
> plotprepare,plot,dim=1
>
> xp_layout,plot
>
> plotinit,plot
> plot.timeformat='HH:MM'
> plot.xtitle='time'
> plot.ytitle='data'
> plotxy,plot,x=x,y=y,/time
> plot.color=plot.color_nc.red
> plotxy,plot,x=x,y=y2,/time
>
> xp_legend,plot
>
> plotend,plot
> printout,'test'
> END
>
>
> This script shows the usage of two xp widget modules.
> The changes you did by the widgets are writtem into the file
> test_plot.pro. The widgets get a comment sign in front.
> Then at the end a postscript file test.ps is created.
>
>
>
> regards
>
> Reimar
>
> --
> Forschungszentrum Juelich
> email: R.Bauer@fz-juelich.de
> http://www.fz-juelich.de/icg/icg-i/
> ============================================================ ======
> a IDL library at ForschungsZentrum Juelich
> http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
>
Re: Postscript line thickness [message #35252 is a reply to message #35153] Thu, 22 May 2003 13:46 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
> This script shows the usage of two xp widget modules.
> The changes you did by the widgets are writtem into the file
> test_plot.pro. The widgets get a comment sign in front.
> Then at the end a postscript file test.ps is created.

Sorry, mistake
It is plot_test.pro

and it could look something like this



PRO plot_test
x=DINDGEN(100)+string2js(/now)
y=SIN(FINDGEN(100)/10.)
y2=COS(FINDGEN(100)/10.)

plotprepare,plot,dim=1

plot.plot_height=13.
plot.plot_width=13.
plot.left_margin=4.
plot.bottom_margin=3.
plot.landscape=3
plot.xgrid=1
plot.ygrid=1
plot.label.name='A'
plot.label.position=2


; xp_layout,PLOT ;========= automaticly replaced =========

plotinit,plot
plot.timeformat='HH:MM'
plot.xtitle='time'
plot.ytitle='data'
plotxy,plot,x=x,y=y,/time
plot.color=plot.color_nc.red
plotxy,plot,x=x,y=y2,/time

plot.legend_title='2003-05-22'
plot.legend_text_color_from_symbol=1
plot.legend_frame_color=plot.color_nc.blue
plot.legend_frame_fill_color=plot.color_nc.light_grey
plot.legend_title_color=plot.color_nc.blue
plot.legend_landscape= 1
plot.legend[0: 1,*]=legend_reorg(plot,['sin!C(1)','cos!C(0)'],$
[1,0] )
; xp_legend,PLOT ;========= automaticly replaced =========

plotend,plot
printout,'test'
END


--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: Postscript line thickness [message #35253 is a reply to message #35153] Thu, 22 May 2003 13:32 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Haje Korth wrote:

> Reimar,
> I am not sure whether I want to make significant changes to my already too
> complicated application. However, I would like to take a look at your
> plotxy package and consider it for future projects. The web site you gave
> me contains a lot of examples but I did not see the actual package offered
> for download. Could you please post this link for us?
>
> Greetings,
> Haje
>
>

Dear Haje,

the whole source could you find in our library at
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
I am working at the moment on the next version of our library for
publishing.

In February we started to set up a compiled library routine of all needed
source modules of the plot library. Because this is much easier as
publishing the whole library, (using the compile routine developed 2001)

At http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_bin/plotpr epare.sav
you will find the actual version I builded today.
This binary file depends always on our working library. One is useable half
a year long. Then it stops. This is only for preventing to have a real old
one.


IDL> plotprepare,plot,dim=1
% Restored file: PLOTPREPARE.
% PLOTPREPARE: Copyright: FZ-Juelich, ICG-I,ICG-II
% PLOTPREPARE: Further Information:
http://www.fz-juelich.de/icg/icg-i/idl_icgl
ib/idl_lib_intro.html
% PLOTPREPARE: BUILD DATE: 2003-05-22 20:41:20 000


A sav file is always same called as the depending pro file
If you have this in your search path you should be able to run every of the
examples which does not need datafiles from us.


In 2000 I have written a publication in German about this package and
others.
http://www.fz-juelich.de/zb/text/publikation/xjuel3786.html


The timedata format was defined by Ray Sterner(JHUAPL) and he named it
julian seconds. ESA renamed it to MJD (Modified Julian Day).
It is defined as seconds since 2000-01-01 00:00:00 UTC. Some routines inside
the sav file are from the JHUAPL library.

A list of all compiled routines you get after loading plotprepare with
IDL> PRINT,(plotprepare_info()).routines


This file may be interesting too
http://www.fz-juelich.de/icg/icg-i/idl_icglib/most_important .html


And here at least one more example:


PRO plot_test
x=DINDGEN(100)+string2js(/now)
y=SIN(FINDGEN(100)/10.)
y2=COS(FINDGEN(100)/10.)

plotprepare,plot,dim=1

xp_layout,plot

plotinit,plot
plot.timeformat='HH:MM'
plot.xtitle='time'
plot.ytitle='data'
plotxy,plot,x=x,y=y,/time
plot.color=plot.color_nc.red
plotxy,plot,x=x,y=y2,/time

xp_legend,plot

plotend,plot
printout,'test'
END


This script shows the usage of two xp widget modules.
The changes you did by the widgets are writtem into the file
test_plot.pro. The widgets get a comment sign in front.
Then at the end a postscript file test.ps is created.



regards

Reimar

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: Postscript line thickness [message #35262 is a reply to message #35153] Thu, 22 May 2003 04:52 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Reimar,
I am not sure whether I want to make significant changes to my already too
complicated application. However, I would like to take a look at your plotxy
package and consider it for future projects. The web site you gave me
contains a lot of examples but I did not see the actual package offered for
download. Could you please post this link for us?

Greetings,
Haje


--


"Reimar Bauer" <R.Bauer@fz-juelich.de> wrote in message
news:bagun7$d82h$1@zam602.zam.kfa-juelich.de...
> Haje Korth wrote:
>
>> Good morning everyone,
>> Does anyone know how the value of the line thickness keyword translates
to
>> points in the Postscript device. I am getting so tired of having to
change
>> all my graphics by hand for publication. Your help out of my misery is
>> greatly appreciated!
>>
>> Greetings,
>> Haje
>>
>> --
>
> Dear Haje,
>
> not only thickness sometimes fonts or symbolsize has to be adjusted.
> this was a few years ago the reason why we have developed the plotxy etc.
> plotroutines.
> If you do a plot by this package it looks on screen and on psfile mostly
> similiar. And a printout is publication ready.
> All this different calculation to get the right thickness or fontsize is
> done internaly. As user you have only to set one flag to switch from
screen
> to postscript.
>
> many examples are here
>
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/idl_work_idl_work.examples.category.htm
>
> regards
>
> Reimar
>
>
>
>
> --
> Forschungszentrum Juelich
> email: R.Bauer@fz-juelich.de
> http://www.fz-juelich.de/icg/icg-i/
> ============================================================ ======
> a IDL library at ForschungsZentrum Juelich
> http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
>
Re: Postscript line thickness [message #35266 is a reply to message #35153] Wed, 21 May 2003 15:30 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Haje Korth wrote:

> Good morning everyone,
> Does anyone know how the value of the line thickness keyword translates to
> points in the Postscript device. I am getting so tired of having to change
> all my graphics by hand for publication. Your help out of my misery is
> greatly appreciated!
>
> Greetings,
> Haje
>
> --

Dear Haje,

not only thickness sometimes fonts or symbolsize has to be adjusted.
this was a few years ago the reason why we have developed the plotxy etc.
plotroutines.
If you do a plot by this package it looks on screen and on psfile mostly
similiar. And a printout is publication ready.
All this different calculation to get the right thickness or fontsize is
done internaly. As user you have only to set one flag to switch from screen
to postscript.

many examples are here
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/idl_work_idl_work.examples.category.htm

regards

Reimar




--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FFT function,
Next Topic: ROI and Triangulate

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

Current Time: Wed Oct 08 14:00:28 PDT 2025

Total time taken to generate the page: 0.00733 seconds