I'm plotting HDF4 file with idl now. I can plot data filed having equal or more than 2 dimensions. But how I can plot some data field only with one dimension? I post my code for 2 dimensions or more below:
status=EOS_SW_READFIELD(swath_id,DATAFIELD_NAME,data)
MAP_SET, /GRID, /CONTINENTS
CONTOUR, data, lon, lat, /OVERPLOT, /FILL, C_Colors=Indgen(levels)+3, Background=1, NLEVELS=levels, Color=Black
MAP_GRID, /LABEL, COLOR=255
MAP_CONTINENTS, COLOR=255
Thanks!
|