Re: [AMBER] color images from 2drms

From: InSuk Joung <i.joung.gmail.com>
Date: Fri, 14 May 2010 12:49:07 -0400

I attach a perl script that generate 2drms plots using gnuplot.
You need raw files.

perl plot_2drms.pl raw_file

Then you will get raw_file.eps file.

If you want different color bars, try

perl plot_2drms.pl raw_file -color 33 13 10
This is rainbow.

For more color formulae, see
http://t16web.lanl.gov/Kawano/gnuplot/plotpm3d2-e.html

I hope this is useful.

On Fri, May 14, 2010 at 12:03 PM, Thomas Cheatham III <tec3.utah.edu> wrote:

>
> > I am trying to use the 2drms option in ptraj "2drms out 2drms_out ps",
> > but when I transform the 2drms_out.ps to pdf with ps2pdf I get only
> > black and white images. Does anybody know how can I get color images?
>
> I never coded up the Postscript part for color (partially since I am
> somewhat color deficient), however I generate color pictures by outputing
> the "raw" format and using some other program to read in and contour the
> data. This can be done with various free programs, at least I did in the
> past with gnuplot with some difficulty; more recently I've been using the
> shareware DPlot which generates nice contouring and even 3D-projections...
>
> --tec3
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Best,
InSuk Joung



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Fri May 14 2010 - 10:00:04 PDT
Custom Search