Re: [AMBER] cpptraj hist 3D

From: andrea spitaleri <andrea.spitaleri.iit.it>
Date: Thu, 06 Nov 2014 19:39:55 +0100

again in addition:

https://pypi.python.org/pypi/GridDataFormats

where:

import numpy
r = numpy.random.randn(100,3)
H, edges = numpy.histogramdd(r, bins = (5, 8, 4))
g = Grid(H, edges=edges)
g.export('C.dx')

and

On 06/11/2014 18:35, Daniel Roe wrote:
> Hi,
>
> You can try visualizing 3d histogram output by writing in a density
> format like OpenDX (just change the output filename extension to
> '.dx') and using a program like VMD.
>
> Hope this helps,
>
> -Dan
>
> On Thu, Nov 6, 2014 at 5:54 AM, CHAMI F. <fatima.chami.durham.ac.uk> wrote:
>> Dear Amber user,
>>
>> is there a way to represent a 3D histogram from output of hist in cpptraj
>>
>> hist phi1 phi2 phi3 min -180 max 180 bins 72 out hist_id_20.gnu
>>
>>
>> 2D histogram is fine in gnuplot using: splot "-" with pm3d title "hist.gnu"
>>
>> many thanks
>> fc
>> _______________________________________________
>> AMBER mailing list
>> AMBER.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber
>
>

-- 
Andrea Spitaleri PhD
D3 - Drug Discovery & Development
Istituto Italiano di Tecnologia
Via Morego, 30 16163 Genova
cell: +39 3485188790
http://www.iit.it/en/d3-people/andrea-spitaleri.html
ORCID: http://orcid.org/0000-0003-3012-3557
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Nov 06 2014 - 11:00:02 PST
Custom Search