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

Home » Public Forums » archive » Axis issues, cgSurf and cgContour
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Axis issues, cgSurf and cgContour [message #90381] Fri, 27 February 2015 10:40 Go to previous message
sam.tushaus is currently offline  sam.tushaus
Messages: 14
Registered: February 2015
Junior Member
Hello! I've been attempting to plot contour data and data on a surface using cgContour and cgSurf, respectively. In both cases I've had issues with the axes. The general form of each command is as follows:
cgContour, data, x, y
cgSurf, data, x, y
Unfortunately, actually inserting something for x and y above hasn't been working out for me. In cgContour, I get a jumbled mess of contours that only vaguely resembles the actual data; in cgSurf, I get only a thin cylinder in the middle of the plot. Plotting without using x and y creates the proper plots, but requires forcing my axes, which can be tedious to program when handling large quantities of data and large numbers of plots (which I need to automate).

Does anyone have experience with this issue? Any fixes? I've tried switching x and y, switching the dimensions of my x and y arrays, using vectors vs 2D arrays...but I've gotten nowhere so far.

Thanks for your help!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Principle Componets Analysis
Next Topic: CgTaylorDiagram

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

Current Time: Wed Oct 08 09:10:35 PDT 2025

Total time taken to generate the page: 0.00473 seconds