1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

plot: replacing sloppy fix with more reasonable way of guessing gnuplot options

This fixes an error introduced in the recent commit
  09886e4f82
This commit is contained in:
Eric Schulte 2010-02-28 17:53:24 -07:00
parent dd7655edc0
commit ff00e36aac

View File

@ -251,8 +251,7 @@ manner suitable for prepending to a user-specified script."
(cons
(format plot-str data-file
(or (and ind (> ind 0)
(not (or (equal 'histograms (plist-get params :with))
(equal 'hist (plist-get params :with))))
(not text-ind)
(format "%d:" ind)) "")
(+ 1 col)
(if text-ind (format ":xticlabel(%d)" ind) "")