problems with Z-Graphics-Buffer (?) [message #15735] |
Thu, 10 June 1999 00:00  |
Harald von der Osten-
Messages: 15 Registered: February 1999
|
Junior Member |
|
|
Hallo,
to store an image on the disc, I wrote:
set_plot, �Z� & device, set_resolution=[2400,1800]
vdo = tvrd()
set_plot, �X� & window, 2 , xsize = 2400, ysize = 1800 & tv, vdo
......
d=tvrd(0,0,!d.x_vsize, !d.y_vsize, true=1)
tiff_write,�topo.tif�, reverse(d,3),1
wdelete, 2
The picture is - and should be - a black-white one, but the background
in the TIFF-file is coloured (on the screen: white because of (tvlct,
255,255,255, !p.background)). Why??
And: The resolution of the text (axis, title) is a very poor one. I
thought if I set the resolution to [2400,1800] the picture and the text
would be of excellent shape. The picture is, not the text. Why?? How
could I manage this?
Thank you very much for any hint
Harald
|
|
|
|
Re: problems with Z-Graphics-Buffer (?) [message #15793 is a reply to message #15735] |
Mon, 14 June 1999 00:00   |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Harald von der Osten-Woldenburg wrote:
>
> "R.Bauer" wrote:
>
>> I am missing something like:
>>
>> tvlct,red,green,blue,/get
>> write_tif,file,image,red=red,blue=blue,green=green
>>
>> Hope this helps a bit.
>>
>> R.Bauer
>
> Thank you for your answer. Unfortunately ... this doesn't change anything
> :-((
>
> But this is not so important as the bad or worse resolution of the fonts.
> They are looking as if an 90 years old man has written the numbers and
> letters with his trembling hand...
>
> Harald vdO
that's why I usually save the IDL output as postscript file and then
take a screen-snapshot (e.g. with xv) to create a tiff, gif or whatever
file.
Martin.
--
|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
|
|
|
Re: problems with Z-Graphics-Buffer (?) [message #15805 is a reply to message #15735] |
Fri, 11 June 1999 00:00   |
Harald von der Osten-
Messages: 15 Registered: February 1999
|
Junior Member |
|
|
"R.Bauer" wrote:
> I am missing something like:
>
> tvlct,red,green,blue,/get
> write_tif,file,image,red=red,blue=blue,green=green
>
> Hope this helps a bit.
>
> R.Bauer
Thank you for your answer. Unfortunately ... this doesn't change anything
:-((
But this is not so important as the bad or worse resolution of the fonts.
They are looking as if an 90 years old man has written the numbers and
letters with his trembling hand...
Harald vdO
|
|
|
Re: problems with Z-Graphics-Buffer (?) [message #15809 is a reply to message #15735] |
Fri, 11 June 1999 00:00   |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Harald von der Osten-Woldenburg wrote:
> Hallo,
>
> to store an image on the disc, I wrote:
>
> set_plot, �Z� & device, set_resolution=[2400,1800]
> vdo = tvrd()
> set_plot, �X� & window, 2 , xsize = 2400, ysize = 1800 & tv, vdo
> ......
> d=tvrd(0,0,!d.x_vsize, !d.y_vsize, true=1)
> tiff_write,�topo.tif�, reverse(d,3),1
> wdelete, 2
>
> The picture is - and should be - a black-white one, but the background
> in the TIFF-file is coloured (on the screen: white because of (tvlct,
> 255,255,255, !p.background)). Why??
>
> And: The resolution of the text (axis, title) is a very poor one. I
> thought if I set the resolution to [2400,1800] the picture and the text
> would be of excellent shape. The picture is, not the text. Why?? How
> could I manage this?
>
> Thank you very much for any hint
>
> Harald
I am missing something like:
tvlct,red,green,blue,/get
write_tif,file,image,red=red,blue=blue,green=green
Hope this helps a bit.
R.Bauer
|
|
|
Re: problems with Z-Graphics-Buffer (?) [message #15859 is a reply to message #15735] |
Tue, 15 June 1999 00:00  |
Harald von der Osten-
Messages: 15 Registered: February 1999
|
Junior Member |
|
|
Martin Schultz wrote:
>> But this is not so important as the bad or worse resolution of the fonts.
>> They are looking as if an 90 years old man has written the numbers and
>> letters with his trembling hand...
>>
>> Harald vdO
>
> that's why I usually save the IDL output as postscript file and then
> take a screen-snapshot (e.g. with xv) to create a tiff, gif or whatever
> file.
>
> Martin.
>
yes, but ... if you are presenting your data in 3D and it seems that PS-fonts can
not be rotated, you have no chance...
Harald
|
|
|