gcontour
-
Ken-Cogger
- Posts: 13
- Joined: Wed Feb 15, 2012 7:58 pm
gcontour
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.
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
Your F matrix can have missing values, but X and Y vectors have to provide a full grid.
-
Ken-Cogger
- Posts: 13
- Joined: Wed Feb 15, 2012 7:58 pm
Re: gcontour
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.
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
We have a fix for that in our test release.