Differences between revisions 7 and 8
Revision 7 as of 2005-07-12 23:03:30
Size: 3380
Editor: 211
Comment:
Revision 8 as of 2005-08-25 04:58:43
Size: 3382
Editor: 82
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
plot sin(x),cos(x) plot sin(x),cos(x^2)

GnuPlot in MoinMoin (from ParserMarket )

GnuPlot in MoinMoin 테스트

plot sin(x),cos(x^2)

plot sin(x),cos(x)

splot exp(x)+exp(y)

splot exp(x)+exp(y)

set pm3d explicit
set parametric
splot cos(u)*cos(v),cos(u)*sin(v),sin(u)

set pm3d explicit
set parametric
splot cos(u)*cos(v),cos(u)*sin(v),sin(u)

set xtics("min"-pi,"counter"0,"max"pi)
plot [-pi:pi]sin(x**2)
splot exp(x)+exp(y)

set xtics("min"-pi,"counter"0,"max"pi)
plot [-pi:pi]sin(x**2)
splot exp(x)+exp(y)

set pm3d at st
#set grid
set key below
set border 4095
set surface
set samples 25
set isosamples 20
set ticslevel 0
set title "surface and pm3d (surface and top) of radial sinc function"
splot [-15:15.01] [-15:15.01] [-0.2:1] \
  sin(sqrt(x**2+y**2)) / sqrt(x**2+y**2)

set pm3d at st
#set grid
set key below
set border 4095
set surface
set samples 25
set isosamples 20
set title "surface and pm3d (surface and top) of radial sinc function"
splot [-15:15.01] [-15:15.01] [-0.2:1] \
sin(sqrt(x**2+y**2)) / sqrt(x**2+y**2)

set pm3d explicit
set palette rgbform 9,8,9
set parametric; set hidden3d
set urange [0:2*pi];set vrange [-pi:pi]
set isosamples 24,16
set size 0.8,1; set view 60,20,1,1
set ticslevel 0
x1(u,v)=cos(u)+.5*cos(u)*cos(v)
y1(u,v)=sin(u)+.5*sin(u)*cos(v)
z1(u,v)=.5*sin(v)
x2(u,v)=1+cos(u)+.5*cos(u)*cos(v)
y2(u,v)=.5*sin(v)
z2(u,v)=sin(u)+.5*sin(u)*cos(v)
set multiplot
splot x1(u,v), y1(u,v), z1(u,v) w pm3d, \
      x2(u,v), y2(u,v), z2(u,v) w pm3d
splot x1(u,v), y1(u,v), z1(u,v) lt 3, \
      x2(u,v), y2(u,v), z2(u,v) lt 5

set pm3d explicit
set palette rgbform 9,8,9
set parametric; set hidden3d
set urange [0:2*pi];set vrange [-pi:pi]
set isosamples 24,16
set ticslevel 0
x1(u,v)=cos(u)+.5*cos(u)*cos(v)
y1(u,v)=sin(u)+.5*sin(u)*cos(v)
z1(u,v)=.5*sin(v)
x2(u,v)=1+cos(u)+.5*cos(u)*cos(v)
y2(u,v)=.5*sin(v)
z2(u,v)=sin(u)+.5*sin(u)*cos(v)
set multiplot
splot x1(u,v), y1(u,v), z1(u,v) w pm3d, \
x2(u,v), y2(u,v), z2(u,v) w pm3d
splot x1(u,v), y1(u,v), z1(u,v) lt 3, \
x2(u,v), y2(u,v), z2(u,v) lt 5

set title "data plot"
plot "http://bioinfo.sarang.net/moin/wikiupload/gnuplotex.txt"

set title "plot data"
plot "http://bioinfo.sarang.net/moin/wikiupload/gnuplotex.txt"

set yrange [0:550] 
set xrange [0:10] 
set data style boxes 
set style fill solid 
set boxwidth 0.4 
set ylabel "number of classes" 
set xlabel "complexity" 
set grid ytics 
set label "99" at 0.5, 109 front center 
set label "143" at 1.5, 153 front center 
set xtics ("1+"0.5,"2+"1.5,"4+"2.5) 
plot "-" using ($1+0.5):($2) with boxes title "" 
0 99 
1 143 
2 490 
3 283 
4 280 
5 192 
6 99 
7 49 
8 13 
9 5 
10 0 
e


set style data boxes
set style fill solid 1 border -1
set boxwidth 0.4
set ylabel "truck number"
set xlabel "week"
set grid ytics
set xtics ("1"0.5,"2"1.5)
set ytics 1
plot "-" using ($1+0.5):($2) with boxes title ""
0 187
1 64
2 22
3 5
4 0
5 0
e


CategoryMoinMoin

GnuPlotInMoinMoin (last edited 2011-08-18 12:39:08 by 211)

web biohackers.net