I’d like to create monochrome diagram/graph in octave using plot command.
That is why I’d like make different lines of graphs with using line style, for example dashed/dotted/dash-dotted styles. Standard plot suggests several styles for line, but none of them looks like listed variants.
EDIT-1:
Standard plot styles are inapplicable for my case: such styles as ":", "-.", "--" don’t work, octave draws solid lines in any case. Furthermore, diamonds and squares (d and s options) are ugly and disproportionate big. May be it will be helpful information: I’m using Octave under Windows.
EDIT-2: For example, such command plot(A(:,1),A(:,2),"-.dk") gives me such (inapplicable !!!) figure

More specifically I want something like this (in part of line style)

(Picture from article: McCallum and K. Nigam. 1998. A comparison of event models for Naive Bayes text classification. In Proceedings of AAAI-98 Workshop on Learning for Text Categorization)
These can be set with the
FMTargument ofplot. Basically, these seem to be your options (see the manual entrey on line styles):"-"solid lines":"points"-."dash followed by dot"--"dashed"none"no line (only markers)There is also the option
"."for dots but this is for the actual data points, not the line. So to recreate your picture, something like the following should workThe syntax may look a bit strange but here’s how to read it. For
-dk,-is for solid line,dfor diamond shaped marker, andkfor black colour (bwould be for blue). On:sk, it’s dotted line and square shaped marker in black colour.See the section on the manual for advanced plotting.
EDIT: see the comments below. This may not work in very old versions of Octave.