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

Home » Public Forums » archive » PLOT3D format input
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PLOT3D format input [message #90620] Tue, 17 March 2015 18:04 Go to previous message
lucesmm is currently offline  lucesmm
Messages: 26
Registered: October 2014
Junior Member
Hello
I am using PLOT3D
and when the format of my x,y,z vectors is
X FLOAT = Array[200]
Y FLOAT = Array[200]
Z FLOAT = Array[200]

it works

Now, when the format of the vectors is
X FLOAT = Array[1, 108]
Y FLOAT = Array[1, 108]
Z FLOAT = Array[1, 108]

it doesn't work and IDL says that

% Expression must be a scalar or 1 element array in this context: <BYTE Array[2]>

any idea what is happening, my original data is in a (9,108) array. how do I convert them ... this is similar to my code, t is generated from other software

t=FINDGEN(5,200)
x = COS(t) * (1 + t / 10)

help, x
p = PLOT3D(x(0,*), x(1,*), x(2,*),'o')

t=FINDGEN(5,200)
x = t(1,*)
y = t(2,*)
z = t(3,*)

help, x,y,z
p = PLOT3D(x, y, z,'o')
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ring in fg graphics
Next Topic: IDL Array Indices Command

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

Current Time: Wed Oct 08 13:59:16 PDT 2025

Total time taken to generate the page: 0.00427 seconds