[GRASS-user] d.rast overlay cairo driver

2010-11-04 Thread Niklas Neckel
Dear all,

I've got a view questions about plotting with the cairo driver. Is there a way 
to overlay rasters with d.rast? Somehow the -o flag dosen't seem to work when 
using the cairo driver. Is it possible to plot an overlaying raster in a 
transparent way? And can I change the size of d.barscale in a high quality 
plot? 

Many thanks,

Niklas
-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] d.rast.arrows in high quality plot

2010-11-03 Thread Niklas Neckel
Hi Nicolas,

Thank you very much! The arrows are thicker now and are visible on the final 
plot. 

Cheers,

Niklas


 Original-Nachricht 
 Datum: Tue, 02 Nov 2010 23:26:01 +0100
 Von: Nicolas Pérenne nicolas.pere...@free.fr
 An: Niklas Neckel nikn...@gmx.de
 CC: grass-user@lists.osgeo.org
 Betreff: Re: [GRASS-user] d.rast.arrows in high quality plot

 Hi Niklas, 
 
 Same for me: the PNG driver draws thinner and thinner arrows when you
 increase the resolution. If you lower the resolution it's okay though. 
 
 If you do need such a high resolution (for a poster?), you might try the
 CAIRO driver (g.manual displaydrivers) which behaves quite differently
 when producing PNGs. Arrows are drawn with a thicker pen indeed (even at
 high pixel resolution) but you might be surprised by the raster
 rendering... and files get very large. 
 
 Nicolas
 
 Le mardi 02 novembre 2010 à 16:12 +0100, Niklas Neckel a écrit : 
  Dear all,
  
  I'm trying to plot arrows, representing length proportional to magnitude
 in a printable high resolution map (with d.rast.arrows). Here is what I
 tried: 
  
  #!/bin/sh
  export GRASS_WIDTH=1 
  export GRASS_HEIGHT=1
  export GRASS_PNGFILE=testpng.png
  export GRASS_PNG_COMPRESSION=0
  #export GRASS_RENDER_IMMEDIATE=TRUE
  export GRASS_TRUECOLOR=TRUE
  g.region fig_arrows
  d.mon start=PNG
  d.rast map=backgro...@permanent 
  d.rast map=magnitude_...@permanent 
  d.rast.arrow map=direction_...@permanent type=compass  arrow_color=black
 grid_color=none  x_color=black unknown_color=red  skip=12 scale=20
 magnitude_map=magnitude_...@permanent
  d.mon stop=PNG
  eog $GRASS_PNGFILE
  
  Unfortunately the plotted arrows are quite slim now... is there another
 solution to achieve this goal?
  
  Many thanks,
  
  Niklas
  
  
 
 
 
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] d.rast.arrows in high quality plot

2010-11-02 Thread Niklas Neckel
Dear all,

I'm trying to plot arrows, representing length proportional to magnitude in a 
printable high resolution map (with d.rast.arrows). Here is what I tried: 

#!/bin/sh
export GRASS_WIDTH=1 
export GRASS_HEIGHT=1
export GRASS_PNGFILE=testpng.png
export GRASS_PNG_COMPRESSION=0
#export GRASS_RENDER_IMMEDIATE=TRUE
export GRASS_TRUECOLOR=TRUE
g.region fig_arrows
d.mon start=PNG
d.rast map=backgro...@permanent 
d.rast map=magnitude_...@permanent 
d.rast.arrow map=direction_...@permanent type=compass  arrow_color=black 
grid_color=none  x_color=black unknown_color=red  skip=12 scale=20 
magnitude_map=magnitude_...@permanent
d.mon stop=PNG
eog $GRASS_PNGFILE

Unfortunately the plotted arrows are quite slim now... is there another 
solution to achieve this goal?

Many thanks,

Niklas


-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user