How to draw a rectangle with a colored border in gnuplot

[亡魂溺海] 提交于 2019-12-05 02:24:42

Using lc instead of lt in the code you posted works fine with version 4.6.5:

reset
set style rect back fs empty border lc rgb '#008800'
set object 1 rect from 1,1 to 2,2 lw 5
set object 2 rect from 1,3 to 2,4 lw 5 fs empty border lc rgb '#880088'
plot x

In any case (both with lt 3 and lc ...) the rectangle borders are solid. I tried the wxt, pngcairo, pdfcairo and postscript terminals and set the dashed option every time.

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