Page 1 of 1

gcontour

Posted: Fri Aug 30, 2013 2:29 am
by Ken-Cogger
gcontour(x=a,y=b,f=c) does not work if a, b, and c contain NA values.
Can anyone suggest a solution?
Sample code stores c(i,j)=i*j only for j>i:

declare vector a(5)
declare vector b(5)
declare rectangular c(5,5)
do i=1,4
do j=i+1,5
compute a(i)=i
compute b(j)=j
compute c(i,j)=i*j
end do j
end do i
gcountour(x=a,y =b,f=c)

Best wishes,
Ken.

Re: gcontour

Posted: Fri Aug 30, 2013 11:41 am
by TomDoan
Your F matrix can have missing values, but X and Y vectors have to provide a full grid.

Re: gcontour

Posted: Thu Sep 19, 2013 1:53 pm
by Ken-Cogger
Thanks Tom,
I have found that axis=none in gcontour still produces a horizontal line at y=0.
How can that line be eliminated?
I want to produce, with vgrid and hgrid, only the axis values corresponding to a max or min value of f.
Thanks,
Ken.

Re: gcontour

Posted: Thu Sep 19, 2013 3:05 pm
by TomDoan
We have a fix for that in our test release.