Differences between revisions 2 and 3
Revision 2 as of 2005-07-01 17:16:51
Size: 2591
Editor: 203
Comment:
Revision 3 as of 2005-07-01 17:17:42
Size: 2569
Editor: 203
Comment:
Deletions are marked like this. Additions are marked like this.
Line 117: Line 117:
plot "http://bioinfo.sarang.net/moin/wiki/upload/gnuplotex.txt" plot "http://bioinfo.sarang.net/moin/wikiupload/gnuplotex.txt"
Line 122: Line 122:
set ylabel "y axis"

GnuPlot in MoinMoin (from ParserMarket )

GnuPlot in MoinMoin 테스트

plot sin(x),cos(x)

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"


CategoryMoinMoin

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

web biohackers.net