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

Home » Public Forums » archive » Re: contour plot query
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
Re: contour plot query [message #71427] Mon, 21 June 2010 07:55
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jun 21, 11:51 am, pp <pp.pente...@gmail.com> wrote:
> Your description is not for a contour plot. It is for an image of your
> result array:
>
> iimage,result
>

That will make an image where the region ge 10 will be black, and the
rest will be white. If you just wanted the contour line, you could
have done it from arr, picking only 10 for the contour levels.

icontour,arr,c_value=[10d0]
Re: contour plot query [message #71428 is a reply to message #71427] Mon, 21 June 2010 07:51 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jun 21, 11:45 am, Fster <francis.colle...@live.co.uk> wrote:
> Is it possible to plot the following:
>
> I have an array [144, 144]
>
> from this I am finding out which values are greater than or equal to
> 10
>
> using
>
> result = arr ge 10
>
> This then produces a series a of 1s and 0s representing true and false
> if I am correct?
>
> I would then like to plot this as a contour plot just highlighting
> across the grid which points are true and which are false.. can this
> be done? as the results are in byte data type?

Your description is not for a contour plot. It is for an image of your
result array:

iimage,result

Generally, all plot routines work the same with any numeric real data
type.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour plot query
Next Topic: Error detected while calling MPFIT_FDJAC2

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

Current Time: Thu Oct 09 13:45:54 PDT 2025

Total time taken to generate the page: 1.04484 seconds