Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Astrid, > Astrid Wonner wrote: > > Hello everybody! > > I have a DisplayImplJ2D with a IsoContour-ScalarMap. Now I want to > show the negative lines (actually shown blue) as dashed lines. Is > there a chance to do it? Absolutely! But because it's saturday, I'm not going to look it up in the javadoc for you ;-) Instead, have a look at the tutorial, section 4.2 http://www.ssec.wisc.edu/~billh/tutorial/s4/Section4.html#section4_2 where the ContourWidget is introduced. After you've created and added an iso-contour map to your display, create the widget with contourWid = new ContourWidget( isoMap ); and add it to your JFrame or to your favourite GUI component. On the widget you should first click on the dashed-lines-below-base checkbox, then set the base value to zero (you said dashed values are negative) and that's about it. Of course there's a way to do the same by calling the appropriate methods, but I'm not acquainted with them. Anyway, I recommend using the widget. Cheers, Ugo
visad
archives: