Earth Charts

centeroftheuniverse

    PLOT EARTHCHART
        X, WHITE UNFILLED CIRCLE,
        DATALABELS ABOVE
      WITH
        FOREGROUND WHITE
        BACKGROUND WHITE
        PAGE 0 0 400 200
    SELECT -122, 37.0, 'Santa Cruz';

EarthChart plots (longitude, latitude) points on a background image of the earth. Assign the X series to a column containing longitude, and assign a marker series to a column containing latitude values.

Anything that works for a ScatterChart will also work for EarthCharts. EarthChart also supports additional keywords for image generation.

Use MASK for an image with masked continents. Continents will be filled with the MASK color, and oceans with the FRAMECOLOR:

maskedblues

    PLOT EARTHCHART
        X, TINY FILLED YELLOW CIRCLE,
      WITH
        SKYBLUE MASK
        FRAMECOLOR DARK SKYBLUE
        PAGE 0 0 400 200
    SELECT lon, lat from ACCESS_LOCIDS;

Use BOUNDARIES to display country boundaries:



    PLOT EARTHCHART
        X, TINY FILLED YELLOW CIRCLE,
      WITH
        SKYBLUE MASK
        FRAMECOLOR DARK SKYBLUE
        LIGHT GRAY BOUNDARIES
        PAGE 0 0 400 200
    SELECT lon, lat from ACCESS_LOCIDS;

Use NO BITMAP to display only the datapoints:



    PLOT EARTHCHART
        X, TINY FILLED YELLOW CIRCLE,
      WITH
        NO BITMAP
        BACKGROUND BLACK
        PAGE 0 0 400 200
    SELECT lon, lat from ACCESS_LOCIDS;

Comments are closed.