Analyze the branch distribution along the backbone of a polymer. Part 2

distribution

The above figure is the branch distribution along the backbone. Each red points represent one branch. I use GNUPLOT to do this. The script is below.

reset
set terminal pngcairo
unset border
set polar 
set size ratio 1
set grid polar lw 1 
set angles degrees #set gnuplot on degrees instead of radians
unset xtics
unset ytics
unset key
set style fill solid 0.1

set output "distribution.png"
set title "Branch Distribution Along Backbone" 
p "distribution.dat" w p pt 18 lc 15 
set output

And the data file “distribution.dat” is in the following format. The first branch is the reference so the dihedral is 0. And the 1 at the end of each line is the radius of polar coordinate.

0  1
84.3542  1
318.8809  1
189.2242  1
86.0779  1
319.7076  1
209.8236  1
118.3041  1
2.3237  1
236.1869  1
110.7585  1
178.9315  1
158.7520  1
59.9645  1
283.8058  1
192.5888  1
73.4498  1
144.4627  1
...
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s