gnuplot: fill area curve keeping tics on top

久未见 提交于 2019-12-13 12:28:57

问题


in gnuplot, when you try to fill an area under a curve, the tics of both axes are hinded behind the solid area. Is there any way to give them to the front? I am using postcript terminal, where no transparent features are allowed (i guess) Thanks


回答1:


There sure is! Before plotting, run this interactively or in a script:

set tics front

Try help tics interactively for more info.




回答2:


After trying many options I realized that the following works properly:

set tics front

It seems important to write it before the plot command.

;-)



来源:https://stackoverflow.com/questions/21193547/gnuplot-fill-area-curve-keeping-tics-on-top

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!