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

Home » Public Forums » archive » Where's the syntax error? No stringst that only contain numbers?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Where's the syntax error? No stringst that only contain numbers? [message #50210] Mon, 18 September 2006 09:49 Go to previous message
Ingo von Borstel is currently offline  Ingo von Borstel
Messages: 54
Registered: September 2006
Member
Hello,

when calling the plot routine, I found that I cannot use all kind of
strings as title strings:
Quote:

IDL> x = [1,2,3,4,5,6]
IDL> y = [1,2,3,4,7,8]
IDL> plot, x,y,xtitle="x",ytitle="y"
IDL> plot, x,y,xtitle="1",ytitle="2"

plot, x,y,xtitle="1",ytitle="2"
^
% Syntax error.
IDL>
I get no syntax error in the first case and one in the second. I don't
really see why. Especially as the examples are to my eyes exactly alike.
Are strings, that contain only figures not allowed?
I'm using IDL 6.1

Regards,
Ingo
--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc

If you need an urgent reply, replace newsgroups by vgap.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: spawn and 'ls *.out'
Next Topic: Redraw an image in IDL object

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

Current Time: Sat Oct 11 01:54:28 PDT 2025

Total time taken to generate the page: 1.62661 seconds