Re: [visad] Query : Customization in Scale value

On 1/30/14 7:00 AM, Devanshi Prajapati wrote:
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

FWIW, I created a VisAD tag on stackoverflow. (Still waiting moderator approval.) http://stackoverflow.com/questions/tagged/visad

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) ScalarMaplong_X_scalarmap=newScalarMap(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 mailing list
visad@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: 
http://www.unidata.ucar.edu/mailing_lists/