NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hello, For better view you can see this thread on the link below: http://stackoverflow.com/questions/21428481/how-to-change-scale-value-in-visad-libraray/21457994#21457994 I am new to visAD library.I am trying to plot a 'lowerTerrain.nc' file in visAD. But It's longitude(-180 to +180) and latitude(-80 to +80) scale values are displayed in by default values,which is -150 to +150 for longitude scale(X axis) and -90 to +90 in latitude scale (Y Axis). I have tried this: 1) ScalarMap long_X_scalarmap=new ScalarMap(RealType.Longitude, Display. XAxis); long_X_scalarmap.setRange(-180.0f,+180.0f);//object of ScalarMap BUT, NO CHANGE IN THE VALUE ON LONGITUDE Axis. 2) LatLonLines longLine=new latLonLines(RealType.Longitude,-180.0f,180.0f,30.0f); longLine.setVisible(true); BUT I don't know HOW TO ADD THIS 'longLine' OBJECT ON THE DISPLAY. REFERENCE: https://www.unidata.ucar.edu/software/idv/docs/javadoc/ucar/visad/display/LatLonLines.html Thank You. -- *Devanshi*
visad
archives: