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

Home » Public Forums » archive » Changing variable type
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Changing variable type [message #93852 is a reply to message #93851] Mon, 07 November 2016 00:01 Go to previous message
876.sabri is currently offline  876.sabri
Messages: 2
Registered: November 2016
Junior Member
On Sunday, November 6, 2016 at 11:10:34 AM UTC+3:30, 876....@gmail.com wrote:
> On Monday, May 16, 2016 at 3:13:54 PM UTC+4:30, Mats Löfdahl wrote:
>> Is there a way in IDL to change the type of an array, specifically a 16-bit integer into a 16 bit unsigned integer?
>>
>> No, I do not mean b = uint(a). This makes a new array and keeps the values. I want to change the variable type of the existing array (from 2 to 12), so the bit values are interpreted differently. Is this possible?
>>
>> /Mats
>
> Hi
> I want to make a ps and plot with data.dbl format dataes from PLUTO code
> I typed
> set_plot,'x'
> filename='fig1.png'
> display,x1=x1,x2=x2,vx2
> write_png,filename,tvrd()
> pload
> pload,0,/silent
> loadct,5,/silent
> END
> run this and I have a png without any pictures
> error: Display: image is not valid
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HDF-Browser
Next Topic: PDE

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

Current Time: Wed Oct 08 11:40:51 PDT 2025

Total time taken to generate the page: 0.00392 seconds