Recent site activity

Mashup notes‎ > ‎

gnuplot hints and tips

This isn't a comprehensive guide to Gnuplot just my own notes on generating image layers for use with OpenLayers.

There's a comprehensive collection of gnuplot demo scripts, and gallery of the plots, here  http://gnuplot.sourceforge.net/demo_4.2/
From these I was able to see that gnuplot would be able to create the type of images I needed for my application.

Default OpenLayers projection is EPSG:4326  - but check  map.getProjectionObject()
Use proj4 to reproject.  The config file /usr/share/proj/epsg has a configfile for epsg:4326
It's simply +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs 

References





Javascript version of Proj4 here http://trac.osgeo.org/proj4js/