[Qgis-user] Displaying a color ramp (color gradient) in the legend

Alister Hood alister.hood at synergine.com
Sat May 14 23:32:55 PDT 2011


Hi,

> Date: Sat, 14 May 2011 15:31:39 +0800
> From: Ramon Andinach <custard at westnet.com.au>
> Subject: Re: [Qgis-user] Displaying a color ramp (color gradient) in
> 	the kegend
> To: qgis-user <qgis-user at lists.osgeo.org>
> Message-ID: <36FA8A1A-7136-440E-8119-CBB415DB2A65 at westnet.com.au>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hi Manuel,
> 
> On 30/04/2011, at 01:15 , Manuel SpĂ­nola wrote:
> 
> > Dear list members,
> >
> > I am displaying a kriking converted to raster (.asc) and I would like to
> dispaly a color ramp (color gradiente) in the legend.
> > How can I do that?
> >
> > Best,
> >
> > Manuel
> 
> Did you have any luck with this?
> 
> If you did, please ignore this. If you didn't here's a guess.
> The guess assumes you mean in the legend of a composer window.
> 
> My understanding (which is limited) is that it's designed for vector data.
> So, it's probably not helpful for a raster like yours.
> 
> But, if you could generate an image of the colour ramp as a png, jpg, etc. you
> could open that image and place it in your legend section.
> You could use the composer's text labels to indicate the range, and then it
> wouldn't matter if the text in the colour ramp was the wrong size.
> 
> Hope that is helpful,
> -ramon.

If you symbolise (hmmm - that doesn't sound like the right word) the raster 
using the 1-Band Raster Colour Table plugin, then you can create a scale bar for
the print composer using the Colour Scale Bar plugin.

Regards,
Alister



More information about the Qgis-user mailing list