write_jpeg and TVRD() [message #31352] |
Sat, 29 June 2002 14:35  |
r_cherukuru3
Messages: 5 Registered: May 2002
|
Junior Member |
|
|
Hi!
I had generated a colourful plot and i had been trying to save this
by writing it into a jpg file using write_jpeg, but somehow i could
only save a grey scale plot!!!
My program looks something like this::
plot,x
oplot,y,color=10000
oplot,z,color=100000
write_jpeg,'myplot.jpg',tvrd()
Can anyone tell me, what is the missing part in my line which may help
me in saving my plot with colors?
thanks in advance
RC
|
|
|
Re: write_jpeg and TVRD() [message #31420 is a reply to message #31352] |
Thu, 04 July 2002 16:01  |
nobody
Messages: 12 Registered: September 1995
|
Junior Member |
|
|
try using True=1 when you do these commands, like:
img=tvrd(True=1)
write_jpeg, 'img.jpg',img, True=1
On 29 Jun 2002 14:35:31 -0700, rc <r_cherukuru3@yahoo.co.uk> wrote:
> Hi!
>
> I had generated a colourful plot and i had been trying to save this
> by writing it into a jpg file using write_jpeg, but somehow i could
> only save a grey scale plot!!!
>
> My program looks something like this::
>
> plot,x
>
> oplot,y,color=10000
> oplot,z,color=100000
>
> write_jpeg,'myplot.jpg',tvrd()
>
> Can anyone tell me, what is the missing part in my line which may help
> me in saving my plot with colors?
>
> thanks in advance
> RC
--
Steve S.
tired of spam at no dot real dot address dot com
|
|
|