Hello,
I have been working with Matlab alot, and plotting with Matlab has one
advantage; markers. Gnuplot gives me much more control, but there is one
thing I haven't figured out how to do yet, maybe someone knows. (I think
octave can do this too and since it uses gnuplot I figured it should be
possible)
I want to specify markers (points) with one edge color and another face
color. It is quite similar to the hollow markers that are found in gnuplot,
but without the transparent face/center.
I have solved it by using two point types, like the following, but that
messes up the legend. Is it possible to define new point types as
combinations of existing point types?
http://old.nabble.com/file/p32765413/mwe3.png
reset
set terminal pngcairo size 200,200
set output 'mwe3.png'
set format x ''
set format y ''
# Line type with blue filled round markers
set style line 1 pt 7 lc 3 lt 1 ps 1
# Line type with light blue filled round smaller markers
set style line 2 pt 7 lc rgb "#abcdef" ps .6
# Plot same data twice with different point types
plot 'data.dat' using 1:2 with linespoints ls 1 t '1',\
'' using 1:2 with points ls 2 notitle
unset output
data.dat:
1.0000 1.0000 1.7062 9.9417
2.0000 3.0000 3.7585 8.2323
3.0000 5.0000 5.4395 2.5743
4.0000 7.0000 7.3054 0.0440
5.0000 9.0000 9.7473 2.0102
6.0000 11.0000 11.6045 2.4656
7.0000 13.0000 13.1175 7.4214
8.0000 15.0000 15.3401 0.5689
9.0000 17.0000 18.8288 11.9895
10.0000 19.0000 19.9611 14.3540
--
View this message in context: http://old.nabble.com/Possible-to-specify-marker-face-color-and-marker-edge-color--tp32765413p32765413.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|