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

Home » Public Forums » archive » plotting function will not compile
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
plotting function will not compile [message #93528] Thu, 11 August 2016 05:43 Go to previous message
Brian McNoldy is currently offline  Brian McNoldy
Messages: 35
Registered: July 2000
Member
This is truly baffling me... I was working on some code and adding a contour plot. I was playing with the CONTOUR procedure and function at the command line to get the result I wanted. I decided on the function.
But when I added it to the code, it would not compile. The exact same line of code that worked at the command line was throwing a syntax error when trying to compile code with it included.
The procedural CONTOUR works in the code, and both still work at the command line. The syntax error points to the first "O" in CONTOUR, and "CO" is underlined in red in my code (if that helps at all).

CONTOUR(z,x,y,/fill,c_value=findgen(11))
^
% Syntax error.

I wasn't messing with anything else while doing this... and haven't changed paths, etc. I'm using IDL 8.4 on Linux.

Thanks,
Brian
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Map with specific lon and lat coordinates
Next Topic: Modify netcdf attributes

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

Current Time: Wed Oct 08 13:31:33 PDT 2025

Total time taken to generate the page: 0.00394 seconds