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

Home » Public Forums » archive » Contouring binary data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Contouring binary data [message #2198] Wed, 01 June 1994 19:06
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
Hi all,

I have a matrix with binary data, that is the elements contain either zero or
one (or some other numer). If I convert the matrix from bytarr to fltarr and
call contour I get some but not all contour lines. Some of them are double
or triple lines. When I add ,levels=[0,1] I get single lines but miss even
more lines.

I guess, IDL assumes some analogue data and tries to find a "slope" or
a "gradient" but fails to get all non-zero elements.

The contour lines IDL returns are rather jaggy. How to smooth these lines ?

Is there a better algorithm for plotting binary data ?

Thanks for any help,
Norbert Hahn
Hahn@hrz.th-darmstadt.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: idl-faq
Next Topic: Oops. UserSymbol, Take II

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

Current Time: Wed Oct 08 17:35:17 PDT 2025

Total time taken to generate the page: 0.00574 seconds