博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
gnuplot examples
阅读量:6341 次
发布时间:2019-06-22

本文共 2620 字,大约阅读时间需要 8 分钟。

xy plot

 

#set terminal jpeg#set output 'alfa.jpg'set terminal postscript eps font 24set out 'U_vs_X_tsr5.eps'#set terminal X11set autoscaleunset logunset labelunset pm3dset key at graph .99, .58set key spacing 1set xtic autoset ytic autoset xlabel  "Normalized axial distance, X/D"set xrange [*:*] # r0 initial pulseset yrange [*:*] set ylabel "Normalized mean axial velocity, ~U{0.8-} / U{/Symbol \245}"set style line 1 lt 1 lc rgb "black" lw 4 pt 1 ps 2set style line 2 lt 2 lc rgb "black" lw 4  pt 3 ps 2set style line 3 lt 3 lc rgb "black" lw 4  pt 5 ps 2set style line 4 lt 4 lc rgb "black" lw 4  pt 7 ps 2set style line 5 lt 5 lc rgb "black" lw 4set style line 6 lt 6 lc rgb "brown" lw 4#set label 1 "TSR 5"  at graph .8, .9plot  "cfd/area_averaged_axial_mean_velocity_TI_1.txt" using 1:6 t "RANS, TI = 1%" ls 1 with lines,\"park_model/wave_axial_velocity_tsr5_park_TI_1.txt" using 1:2 t "BEM-Park,TI=1%" ls 2 with lines,\"cfd/area_averaged_axial_mean_velocity_TI_15.txt" using 1:6 t "RANS, TI = 15%" ls 3 with lines,\"park_model/wave_axial_velocity_tsr5_park_TI_15.txt" using 1:2 t "BEM-Park,TI=15%" ls 4 with lines

 

 

example 2

important code

set key out horiz center top

 

#set terminal jpeg#set output 'coeff_epp.jpg'#set terminal png#set output 'coeff_epp.png'set terminal postscript eps font 24set out 'coeff_naca0012.eps'#set terminal X11set autoscaleunset logunset labelunset pm3dset key out horiz center topset xtic autoset ytic autoset xlabel "Tip speed ratio (TSR)"set xrange [1:*] # r0 initial pulseset yrange [-0.4:0.4] set ylabel "Rotor coefficient of power - C_P"set style line 1 lt 1 lc rgb "black" lw 4 pointtype 2 pointsize 2set style line 2 lt 2 lc rgb "black" lw 4 pointtype 7 pointsize 2set style line 3 lt 3 lc rgb "black" lw 4 pointtype 6 pointsize 2set style line 4 lt 4 lc rgb "black" lw 4 pointtype 8 pointsize 2set style line 5 lt 5 lc rgb "black" lw 4 pointtype 10 pointsize 2set style line 6 lt 6 lc rgb "brown" lw 4 pointtype 12 pointsize 2set pointsize 2set bars 3plot  "naca0012/re_135k/zero/coeff.plt"  using 1:4 t "BEM {/Symbol q}_T = 0^{0}" ls 1 with lines  ,\"RANS/Cp_Ct_tsr_one_untwist.dat"  using 1:2 t "RANS {/Symbol q}_T = 0^{0}" ls 1 with points  ,\"naca0012/re_135k/fwd_2/coeff.plt"  using 1:4  t "BEM {/Symbol q}_T = 2^{0}" ls 2 with lines,\"RANS/Cp_one_front_eldad_blade.dat" using 1:2 t "RANS {/Symbol q}_T = 2^{0}" ls 4 with points,\"naca0012/re_135k/rear_2/coeff.plt"  using 1:4  t "BEM {/Symbol q}_T = -2^{0}" ls 3 with lines,\"RANS/Cp_Ct_tsr_one_rear.dat" using 1:2 t "RANS {/Symbol q}_T = -2^{0}" ls 5 with points

 

 

转载于:https://www.cnblogs.com/code-saturne/p/10564176.html

你可能感兴趣的文章
NHibernate 2.0 Beta 1 Released和一些工具
查看>>
【每天一个Linux命令】12. Linux中which命令的用法
查看>>
软件接口数据一致性机制
查看>>
微服务架构介绍和RPC框架对比
查看>>
Debian下使用OpenLDAP 管理端
查看>>
泛型排序器TComparer
查看>>
9个offer,12家公司,35场面试,从微软到谷歌,应届计算机毕业生的2012求职之路...
查看>>
创建符合标准的、有语意的HTML页面——ASP.NET 2.0 CSS Friendly Control Adapters 1.0发布...
查看>>
Adobe驳斥Flash过度耗电论 称HTML5更耗电
查看>>
No!No!No! It's not fashion!
查看>>
艰困之道中学到的经验教训
查看>>
互联网生态建设落地五大挑战——保险科技生态建设 ...
查看>>
进行短视频app开发工作时,可以加入它来保护青少年 ...
查看>>
25G DAC无源高速线缆和25G光模块之间的区别
查看>>
乐乐茶完成近2亿元Pre-A轮融资,祥峰投资领投
查看>>
clickhouse修改时区
查看>>
CSS_定位
查看>>
第二十四章:页面导航(六)
查看>>
IP_VFR-4-FRAG_TABLE_OVERFLOW【cisco设备报错】碎片***
查看>>
Codeforces Round #256 (Div. 2) D. Multiplication Table 【二分】
查看>>