emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-plot line colors
@ 2020-11-21 12:14 ian martins
  2020-12-13 15:45 ` TEC
  0 siblings, 1 reply; 2+ messages in thread
From: ian martins @ 2020-11-21 12:14 UTC (permalink / raw)
  To: Org-Mode mailing list

I wanted to change line colors but didn't find a way. Is there a way?

This almost works:

    #+PLOT: ind:1 deps:(2) set:"set style line 1 lc rgbcolor 'blue'"

but it needs a `linestyle' set for each line, like this:

    plot '/tmp/org-plotiLccTT' using 1:2 with lines title 'some title' ls 1

note the `ls n' at the end. I think this is safe since there are
default linestyle settings, so long as n doesn't exceed the number of
linestyles available for the mode it doesn't matter if the plot config
defines them.

also note that I used single quotes for the color name in the plot
config. I don't think org allows escaped quotes in headers. luckily
gnuplot allows single quotes.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-13 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 12:14 org-plot line colors ian martins
2020-12-13 15:45 ` TEC

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).