The .gnu files the cpptraj generates can be reloaded in GNUplot again, and
then, rescale both to the same size.
Something like:
-------------------------------------------------------------------------
set terminal jpeg enhanced size 1280,1024
set output 'coolgraph.jpg'
set pm3d map
set palette gray
set xrange [0:3]
set yrange [0:3]
splot 'file-from-cpptraj.gnu'
-------------------------------------------------------------------------
GNUPlot website has tons of examples.
Hope that helps.
Rodrigo.
On Thu, Jan 31, 2013 at 10:36 AM, HM <scienceamber.gmail.com> wrote:
> I have one further query in the same line. I am interested in comparing the
> two systems in terms of their 2drms plot. But by default one plot
> (generated by .gnu output file) ranges between -2 to +2 and another system
> ranges between -3 to +3. Due to which It becomes difficult to compare it at
> first look.
> Again this is related to gnuplot but it would be nice if I can get help how
> can i change colorscale range.
>
> THanks,
> HM
>
> On Thu, Jan 31, 2013 at 6:32 PM, HM <scienceamber.gmail.com> wrote:
>
> > Thanks Thomas, Igor. And thanks Daniel, that helps a lot.
> >
> > On Wed, Jan 30, 2013 at 7:03 PM, Daniel Roe <daniel.r.roe.gmail.com
> >wrote:
> >
> >> Hi,
> >>
> >> I use the attached script to quickly convert gnuplot files output from
> >> cpptraj to JPEG files. It just modifies the gnuplot commands so that
> >> it writes to a jpg.
> >>
> >> Usage: Gnu2jpg.sh <inputfile> [rect] [square] [size <x,y>]
> >>
> >> Example: Given the gnuplot output dssp.gnu,
> >>
> >> ./Gnu2jpg.sh dssp.gnu
> >>
> >> outputs dssp.jpg.
> >>
> >> -Dan
> >>
> >> On Wed, Jan 30, 2013 at 7:13 AM, HM <scienceamber.gmail.com> wrote:
> >> > Hi All,
> >> > I used cpptraj to generate plot for secondary structure (in .gnu
> form).
> >> Now
> >> > I want to save this as image. But I do not see any option to save it,
> >> there
> >> > is only one option i.e. copy to clipboard. When I try to copy it and
> >> paste
> >> > in OpenOffice it does not work. I know it is not related to AMBER but
> >> guys
> >> > help me.
> >> >
> >> > Thanks,
> >> > Hirdesh
> >> > _______________________________________________
> >> > AMBER mailing list
> >> > AMBER.ambermd.org
> >> > http://lists.ambermd.org/mailman/listinfo/amber
> >>
> >>
> >>
> >> --
> >> -------------------------
> >> Daniel R. Roe, PhD
> >> Department of Medicinal Chemistry
> >> University of Utah
> >> 30 South 2000 East, Room 201
> >> Salt Lake City, UT 84112-5820
> >> http://home.chpc.utah.edu/~cheatham/
> >> (801) 587-9652
> >> (801) 585-9119 (Fax)
> >>
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >>
> >>
> >
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jan 31 2013 - 10:00:05 PST