comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Shading plotting symbols
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Shading plotting symbols [message #78936] Sun, 08 January 2012 06:56
Jack Frost is currently offline  Jack Frost
Messages: 2
Registered: January 2012
Junior Member
Hi all.

I was wondering if it was possible to shade plotting symbols different
colors? For example, say I have a latitude-longitude plot of the
Earth, with x symbols showing the locations where some measurements
were taken. Is it possible to shade these symbols to show the value of
the measurement, i.e measurements with values between 1-2 are blue,
2-3 are green, 3-4 are red etc?

At the moment I am just creating a plot of measurement locations from
the 1d lat/lon arrays as such:

plot, lon, lat, psym=1, $
xrange=[0,360], yrange=[-90,90], $
xtitle='Longitude', ytitle='Latitude', $
xticks=4, xtickname=['0','90','180','270','360'], $
yticks=6, ytickname=['-90','-60','-30','EQ','30','60','90'], $
title='Locations of retrievals'
filename='ice_locations.png'
write_png,filename,tvrd()

Many thanks,

Jack
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Another IDL Doc Question
Next Topic: Re: Another IDLDOC Note

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:11 PDT 2025

Total time taken to generate the page: 0.00478 seconds