[Date Prev][Date Next][Index][Thread] [SGT Mail Archive] [SGT Main Page]

RE: Réf. : Using SimpleGrid...?



*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

Stop Spamming the List!

John T. Pearson, Jr., GG-13, DAF
 
Senior IO Analysis Modeling & Simulation Engineer

RF Sensors, Communications, Navigation and Identification Systems Analysis
Element
Electronic Warfare Analysis Flight (EWA)
453 Electronic Warfare Squadron (453 EWS)
318 Information Operations Group (318 IOG)
Air Force Information Warfare Center (AFIWC)
Air Intelligence Agency (AIA)
Air Combat Command (ACC)
United States Air Force (USAF)
 
453 EWS/EWA
102 Hall St, Ste 338
San Antonio, TX 78243-7020
 
Voice: (210) 977-2427, DSN 969-2427; STU-III Capable 
FAX: (210) 977-4586, DSN 969-4586 NON-SECURE
SECURE FAX: (210) 977-4680, DSN 969-4860 (auto receive PM only)
NSTS: 973-6147
 
Home:         rcd2951@satx.rr.com  UNCLASSIFIED ONLY
NIPRNET:     john.pearson@lackland.af.mil UNCLASSIFIED ONLY
SIPRNET:     john.pearson@afiwc.aia.kelly.af.smil.mil 
JWICS:        john.pearson@afiwc.aia.ic.gov



-----Original Message-----
From: Laurent BEIGBEDER [mailto:lbeigbed@gfi.fr] 
Sent: Friday, April 29, 2005 10:15 AM
To: Administrator@noaaspam03.newworldapps.com
Cc: sgt@noaa.gov
Subject: Réf. : Using SimpleGrid...?


*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************

*************************************************
Message from the sgt mail list.
*************************************************


Hi,

What do you mean by associatedData?

I use it with double arrays with following constraints: grid.length ==
xloc.length*yloc.length

then, if sg is the new SimpleGrid.
    sg.setXMetaData(new SGTMetaData("Distance","km"));
    sg.setYMetaData(new SGTMetaData("Height","m"));
    sg.setZMetaData(new SGTMetaData("Depth","cm"));

then put it in a JPlotLayout

    /*
     * Create the layout without a Logo image and with the
     * ColorKey on a separate Pane object.
     */
    JPlotLayout rpl = new JPlotLayout(true, false, false, "test layout",
null, true);
    rpl.setEditClasses(false);
    /*
     * Create a GridAttribute for CONTOUR style.
     */
    Range2D datar = new Range2D(-20.0f, 45.0f, 5.0f);
    //Range2D datar = new Range2D(0.0f, 1.0f, 5.0f);
    clevels = ContourLevels.getDefault(datar);
    gridAttr_ = new GridAttribute(clevels);
    /*
     * Create a ColorMap and change the style to RASTER_CONTOUR.
     */
    ColorMap cmap = createColorMap(datar);
    gridAttr_.setColorMap(cmap);
    gridAttr_.setStyle(GridAttribute.RASTER_CONTOUR);
    /*
     * Add the grid to the layout and give a label for
     * the ColorKey.
     */

    rpl.addData(newData, gridAttr_, "Test data");

    rpl.setTitles("Demo d'essai",
                  "Utilisant JPlotLayout",
                  "et voila =)","");

    rpl.setSize(new Dimension(500, 400));
    rpl.setKeyLayerSizeP(new Dimension2D(2.0, 6.0));
    rpl.setKeyBoundsP(new Rectangle2D.Double(0.01, 5.99, 1.98, 5.98));

Regards,

Laurent BEIGBEDER
GFI Informatique
Toulouse - FRANCE



Veuillez répondre à James Kohl <kohlja@ornl.gov>

Pour : sgt@noaa.gov
cc :   kohlja@ornl.gov

Objet :     Using SimpleGrid...?


*************************************************
Message from the sgt mail list.
*************************************************

Help!

I'm a new user, trying to use SGT for a simple applet
demo, and cannot seem to create a valid SimpleGrid for
passing into a JGridDemo setup...  (I have started
with your JGridDemo.java example, and am trying
to replace the TestData with my own data grid).

I have created a SimpleGrid using the

( double [] grid, double [] xloc, double [] yloc, String )

constructor, with X and Y coordinates in xloc[] and yloc[], resp, and Z
values in grid[], but the resulting SimpleGrid has null
"AssociatedData"...?!

How do I get my "Z" values (the actual data) into the grid?

Any help would be greatly appreciated, ASAP!

Thanks Much!

    James Kohl, PhD
    Oak Ridge National Laboratory



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========










*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========


*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========



*************************************************
To remove yourself from this mailing list,
send mail to <epic-majordomo@noaa.gov> with
"unsubscribe sgt" in the message body.
==========


Privacy Notice, External Links Disclaimer.