Hi,
no, I haven't any questions...
Only want to thank and kiss you cause it works!!!
Astrid
----- Original Message -----
From: "Curtis Rueden" <curtis@xxxxxxxxxxxxx>
To: "Astrid Wonner" <Astrid@xxxxxxxxx>
Sent: Tuesday, March 27, 2001 11:05 PM
Subject: Re: still dashed lines...
> Hi Astrid,
>
> Like Bill said, 4 x 4 is too coarse a sampling for your Gridded2DSet.
> The display looks pretty good at 64 x 64. Try replacing:
>
> > float[][] grid = new float[2][16];
> > for (int i = 0; i<4; i++)
> > { for (int j = 0; j<4; j++)
> > { grid[0][i + 4 * j] = i;
> > grid[1][i + 4 * j] = j; }}
> >
> > domain_set_gridded = new Gridded2DSet(domain_tuple, grid,5, 5);
>
> With:
>
> final int res = 64; // change parameter as needed
> float[][] grid = new float[2][res * res];
> for (int i = 0; i<res; i++)
> { for (int j = 0; j<res; j++)
> { grid[0][i + res * j] = 4.0f * i / res;
> grid[1][i + res * j] = 4.0f * j / res; }}
>
> domain_set_gridded = new Gridded2DSet(domain_tuple, grid, res, res);
>
> -Curtis
>
> At 14:42 3/27/01, Astrid Wonner wrote:
> >Hi Bill,
> >
> >sorry, but I don't get it... perhaps I'm a little stupid ;-)
> >
> >I changed the program as you said, but now I don't get all contours und
nor
> >dashed lines neither labels....
> >What's wrong???
> >
> >Please help me!!
> >
> >Thanks!!
> >
> >Astrid
>