When making a graph with symbols, the symbolsize option seems to override the symbol option, i.e., the command
Code: Select all
graphname.setelem symbol(none) symbolsize(small)
will still show symbols even though the option "none" is activated....
Is this a bug?
Example below.
t
Code: Select all
wfcreate a 2000 2010
genr x1= nrnd
genr x2=1/x1+nrnd
genr x3= x1+x2
%lcolorblack="@rgb(55,55,55)"
%color1 = "@rgb(249,107,96)" ' red
%color2 = "@rgb(66,143, 249)" ' "@rgb(17,115,247)" '"@rgb(54,136,248)" ' blue
%color3 = "@rgb(57,172,51)" ' green
%color4 = "@rgb(197,192,33)" ' orange
'mønster på grafene
%lpat1 = "solid"
%lpat2 = "dash4"
%lpat3 = "dash9"
%lpat4 = "dash1"
'mønster på grafene
%symbol1 = "none"
%symbol2 = "none"
%symbol3 = "none"
%symbol4 = "none"
%symbolsize="6" 'grå fra 1 til 8
%gr="_d"
graph {%gr}.line x1 x2 x3
{%gr}.options linepat
for !itersc=1 to 3
!itersccolor=!itersc
{%gr}.setelem({!itersc}) lcolor({%color{!itersccolor}}) lwidth(2.1) legend({%legend}) lpat({%lpat{!itersccolor}}) symbol({%symbol{!itersccolor}}) symbolsize({%symbolsize})
'{%gr}.setelem({!itersc}) lcolor({%color{!itersccolor}}) lwidth(2.1) legend({%legend}) lpat({%lpat{!itersccolor}}) symbol(none) 'symbolsize({%symbolsize})
next
show {%gr}