iContour [message #43819] |
Sat, 30 April 2005 00:18  |
Giorgos
Messages: 8 Registered: April 2005
|
Junior Member |
|
|
I have the following problem...
I have three 2-D arrays I want to make a contour using iTool...
anything goes well...but the only problem I face is that in the axis it
does not show the original values contained inside the arrays but just
the position of them....how can I solve this problem?
I want in the axis the original values to be contained.
If I do the contour using idl only I face no problem...but when using
iContour this problem arises...
|
|
|
Re: iContour [message #43863 is a reply to message #43819] |
Thu, 05 May 2005 08:32  |
Chris[2]
Messages: 39 Registered: August 2003
|
Member |
|
|
Hi Giorgos,
I tried the following in IDL6.1:
x=findgen(100)/10
y=findgen(1,100)*100
iContour,hanning(100,100),rebin(x,100,100),rebin(y,100,100)
You are correct. It doesn't honor the X and Y parameters.
However, this has been fixed for IDL6.2.
-Chris
RSI
"Giorgos" <G.Aloizos@gmail.com> wrote in message
news:1115214424.499743.228720@o13g2000cwo.googlegroups.com.. .
> Hi again...
> The problem is simple....sorry for not explaining well.
> I have 3 arrays : 2 of them are float 2-D arrays and another one 2-D
> integer array.
> So I want to have the integer array values in my x-axis and one of the
> other 2 in my y -axis having the last one set in the z_axis.
> When I do the contour in idl I can make the graph that I want and the
> axis take the value that is contained inside each cell of the
> array...meaning for example if array[9] = 3 then in my axis I have the
> number 3 ....but when I do the same provedure using the itool having
> the same arrays as variables in my axes I see for this example the
> value 9.
> CODE EXAMPLE: contour, z, x, y where x, the integer 2_D array and z and
> y 2_D float arrays... IDL operates exaxlty as it is supposed...but id I
> load the same variables using icontour and try to do the contour in the
> axis I see only the numbers showing the columns of the x-axis and the
> the rows of the y-axis indicating positions and not the actual values
> incide the cells of these arrays.
> Chris Torrence wrote:
>> Hi Giorgos,
>>
>> I guess I don't understand your problem. Can you give some code
> examples,
>> both in direct graphics (where you say it works fine), and in iTools
> code?
>>
>> Thanks.
>>
>> -Chris
>>
>> "Giorgos" <G.Aloizos@gmail.com> wrote in message
>> news:1114845528.992236.219740@o13g2000cwo.googlegroups.com.. .
>>> I have the following problem...
>>> I have three 2-D arrays I want to make a contour using iTool...
>>> anything goes well...but the only problem I face is that in the
> axis it
>>> does not show the original values contained inside the arrays but
> just
>>> the position of them....how can I solve this problem?
>>> I want in the axis the original values to be contained.
>>> If I do the contour using idl only I face no problem...but when
> using
>>> iContour this problem arises...
>>>
>
|
|
|
Re: iContour [message #43896 is a reply to message #43819] |
Wed, 04 May 2005 06:47  |
Giorgos
Messages: 8 Registered: April 2005
|
Junior Member |
|
|
Hi again...
The problem is simple....sorry for not explaining well.
I have 3 arrays : 2 of them are float 2-D arrays and another one 2-D
integer array.
So I want to have the integer array values in my x-axis and one of the
other 2 in my y -axis having the last one set in the z_axis.
When I do the contour in idl I can make the graph that I want and the
axis take the value that is contained inside each cell of the
array...meaning for example if array[9] = 3 then in my axis I have the
number 3 ....but when I do the same provedure using the itool having
the same arrays as variables in my axes I see for this example the
value 9.
CODE EXAMPLE: contour, z, x, y where x, the integer 2_D array and z and
y 2_D float arrays... IDL operates exaxlty as it is supposed...but id I
load the same variables using icontour and try to do the contour in the
axis I see only the numbers showing the columns of the x-axis and the
the rows of the y-axis indicating positions and not the actual values
incide the cells of these arrays.
Chris Torrence wrote:
> Hi Giorgos,
>
> I guess I don't understand your problem. Can you give some code
examples,
> both in direct graphics (where you say it works fine), and in iTools
code?
>
> Thanks.
>
> -Chris
>
> "Giorgos" <G.Aloizos@gmail.com> wrote in message
> news:1114845528.992236.219740@o13g2000cwo.googlegroups.com.. .
>> I have the following problem...
>> I have three 2-D arrays I want to make a contour using iTool...
>> anything goes well...but the only problem I face is that in the
axis it
>> does not show the original values contained inside the arrays but
just
>> the position of them....how can I solve this problem?
>> I want in the axis the original values to be contained.
>> If I do the contour using idl only I face no problem...but when
using
>> iContour this problem arises...
>>
|
|
|
Re: iContour [message #43942 is a reply to message #43819] |
Tue, 03 May 2005 08:52  |
Chris[2]
Messages: 39 Registered: August 2003
|
Member |
|
|
Hi Giorgos,
I guess I don't understand your problem. Can you give some code examples,
both in direct graphics (where you say it works fine), and in iTools code?
Thanks.
-Chris
"Giorgos" <G.Aloizos@gmail.com> wrote in message
news:1114845528.992236.219740@o13g2000cwo.googlegroups.com.. .
> I have the following problem...
> I have three 2-D arrays I want to make a contour using iTool...
> anything goes well...but the only problem I face is that in the axis it
> does not show the original values contained inside the arrays but just
> the position of them....how can I solve this problem?
> I want in the axis the original values to be contained.
> If I do the contour using idl only I face no problem...but when using
> iContour this problem arises...
>
|
|
|