Re: speed, size, contouring [message #55159] |
Thu, 02 August 2007 14:13 |
Hawaiianite
Messages: 2 Registered: August 2007
|
Junior Member |
|
|
On Aug 2, 6:22 am, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> Hawaiianite wrote:
>
> I'm also
>
>> struggling with the putting the results into a contoured ternary
>> diagram (this I have done before, but with different data a long time
>> ago). For this I keep getting the error "CONTOUR: Contour levels must
>> be in increasing order." I've just never gotten this error before and
>> I'm having a little trouble deciding what it is referring to.
>> contour,z,x,y,LEVELS=fix(findgen(15) * ((max(z) - min(z))/15) +
>> min(z)) ,$
>> background=255,c_color=0,c_linestyle=2,c_labels=fix(findgen( 15) *
>> ((max(z) - min(z))/15) + min(z)),$
>> c_charsize=1.5,ymargin=7,xmargin=7,c_thick=1,/irregular
>
> Hi,
>
> the statement LEVELS=fix(findgen(15) * ((max(z) - min(z))/15) + min(z))
> is your problem.... try to remove the 'fix', as it certainly causes
> you to have multiple entries with the same value!
>
> Jean
Thanks Jean, can't believe I missed that. I appreciate it.
Hawaiianite
|
|
|
Re: speed, size, contouring [message #55169 is a reply to message #55159] |
Thu, 02 August 2007 09:22  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
Hawaiianite wrote:
I'm also
> struggling with the putting the results into a contoured ternary
> diagram (this I have done before, but with different data a long time
> ago). For this I keep getting the error "CONTOUR: Contour levels must
> be in increasing order." I've just never gotten this error before and
> I'm having a little trouble deciding what it is referring to.
> contour,z,x,y,LEVELS=fix(findgen(15) * ((max(z) - min(z))/15) +
> min(z)) ,$
> background=255,c_color=0,c_linestyle=2,c_labels=fix(findgen( 15) *
> ((max(z) - min(z))/15) + min(z)),$
> c_charsize=1.5,ymargin=7,xmargin=7,c_thick=1,/irregular
Hi,
the statement LEVELS=fix(findgen(15) * ((max(z) - min(z))/15) + min(z))
is your problem.... try to remove the 'fix', as it certainly causes
you to have multiple entries with the same value!
Jean
|
|
|