[Pw_forum] plotrho output in color

Stefano de Gironcoli degironc at sissa.it
Thu Apr 7 09:03:12 CEST 2011


not really, but you can edit the produced postscript file and replace 
the bunch of lines at the beginning defining the grayscale

/s0 {1.00 setgray newpath moveto lineto lineto lineto fill} def
/t0 {1.00 setgray newpath moveto lineto lineto fill} def
/s1 {0.88 setgray newpath moveto lineto lineto lineto fill} def
/t1 {0.88 setgray newpath moveto lineto lineto fill} def
...

with something like

/s0 {1.00 1.0 1.0 sethsbcolor  newpath moveto lineto lineto lineto fill} def
/t0 {1.00 1.0 1.0 sethsbcolor  newpath moveto lineto lineto fill} def
/s1 {0.88 1.0 1.0 sethsbcolor  newpath moveto lineto lineto lineto fill} def
/t1 {0.88 1.0 1.0 sethsbcolor  newpath moveto lineto lineto fill} def
...

that define the colors in terms of hue,saturation and brightness.


HTH

  stefano

On 04/07/2011 01:55 PM, Eric Germaneau wrote:
> Dear all,
>
> My question is simple, I wonder whether the plotrho program can 
> generate a colored output.
> Yours,
>
>            Eric.
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20110407/8140e57d/attachment-0001.htm 


More information about the Pw_forum mailing list