gnuplot的三维图.docVIP

  • 269
  • 0
  • 约5.96千字
  • 约 6页
  • 2016-11-29 发布于贵州
  • 举报
gnuplot的三维图

假如数据文件data.txt中内容如下: # x ???y ???f(X,Y) 0.1????0.1?????1 0.2????0.2?????3.5 0.3????0.3?????2.7 ... 则f(X,Y)的图形可如下绘制: 在gnuplot console中使用command: splot data.txt 若要设定x和y的范围: splot [xi,xf] [yi,yf] data.txt 若要画colorful contour map: set pm3d map splot [xi,xf] [yi,yf] data.txt 设定 x axis 显示的significant digit 为小数点后第10位 set format x %1.10f 同理可设置 y axis 设定 x axis tics 的间距为0.1: set xtics 0.1 存为彩色eps图,图名为img.eps: set terminal postscript eps color enhanced set output img.eps replot 1. 输出格式 gnuplot set terminal x11 %输出到屏幕(Linux) gnuplot set terminal postscript portrait noenhanced monochrome bl

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档