replacing the grads logo

Bernd Becker bernd.becker at METOFFICE.GOV.UK
Wed Aug 20 11:14:48 EDT 2008


Great Fil!

I got as far is this :

function printimb ( outdir, plotname )

'printim 'outdir plotname'.gif white'
'!convert -page 15x15+5+10  'outdir plotname'.gif   -page  20x20+570+450
~/logo50x50.gif -flatten  'outdir plotname'.gif'

return

and would now like to build something than grads picks up as if it were
printim but executes  the added line.


Any ideas?

Bernd.


On Wed, 2008-08-20 at 15:38 +0100, Fil wrote:
> Hi Bernd,
>
> You can use ImageMagick to dissolve an image on your plot, something
> like this will do:
>
> $ composite -dissolve 100% -geometry +0+0 image_to_dissolve.png
> your_plot.png result_image.png
>
> Option "-geometry +0+0" will put your image in the upper right corner.
> Better check ImageMagick's documentation at
> http://www.imagemagick.org/www/composite.html
>
> Cheers.
>
>
> 2008/8/20 Bernd Becker <bernd.becker at metoffice.gov.uk>
>         Hello,
>
>         how can I replace the grads logo with my own?
>
>         rather than
>
>         'set grads off'
>
>          I would like to use that feature to put something else on
>         every plot. Ideally, this should be a small imported image
>         rather than plain text.
>
>
>         How may that be achieved?
>
>         Many thanks,
>         Bend.
>
>         --
>         Bernd Becker   The Monthly Outlook
>         Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United
>         Kingdom
>         Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
>         E-mail:bernd.becker at metoffice.com  -  http://www.metoffice.com
>
>
>
> --
> Fil - MeteoPT.com
>
--
Bernd Becker   The Monthly Outlook
Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.com  -  http://www.metoffice.com



More information about the gradsusr mailing list