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

Home » Public Forums » archive » Re: contours and Z device
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: contours and Z device [message #12221 is a reply to message #12216] Mon, 06 July 1998 00:00 Go to previous messageGo to previous message
dlhopols is currently offline  dlhopols
Messages: 10
Registered: April 1998
Junior Member
Hi,

Roberto wrote:

> Hello, this little program attached works (under NT and Linux) with IDL
> 4.0.1, but not with IDL 5.0.2. It seems that when you are using the Z device
> and you ask the routine to plot a contour above the maximum value of your
> data, then an error occours in version 5.0.2. Instead, it works fine with
> vesion 4.0.1. Any comment ?

There seems to be some trouble. I tried this program on SGI, IDL version 5.0
and after changing 'win' to 'X', I get an error on the contour call (here line
19) after set_plot 'z'.

---program--(spaces removed) -------------------
pro procont
nx=10
ny=10
zzm=dblarr(nx,ny)
xx=indgen(nx) & yy=indgen(ny)
zzm(*,*)=0.d0
zzm(5,5)= 1.d0
set_plot,'X'
contour,zzm,xx,yy,/fill,levels=2
set_plot,'z'
help,zzm,xx,yy
contour,zzm,xx,yy,/fill,levels=2
device, /close
end
---Result -----------------------------
%Compiled module: PROCONT.
IDL> procont
ZZM DOUBLE = Array[10, 10]
XX INT = Array[10]
YY INT = Array[10]
% Array dimensions must be greater than 0.
% Execution halted at: PROCONT 19 rbianc.pro
% $MAIN$



Maybe this will help track down the problem?
Rose

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Attention PV-WAVE Users - Announcing the IDL Trade Up Program!
Next Topic: Voronoi diagram

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

Current Time: Sat Oct 11 01:08:27 PDT 2025

Total time taken to generate the page: 1.44607 seconds