Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Hi,

I plotted temperatures with #+plot: yesterday and set the labels via
labels:("a" "b" "c").

Expected: when I add labels:(...) to the plot commands, this overrides
table headers.

Actual: when the table contains column headers, the explicit labels: argument is
ignored

The documentation states that the column headers only provide the
default:

> ‘labels’
>      List of labels to be used for the ‘deps’.  Defaults to the column
>      headers if they exist.

Here’s an example (a bit more than minimal). If you remove the column
headers, the labels are used, but with the column headers included, it
always plots those instead of the ones given in labels:

#+attr_html: :width 50%
#+plot: title:"Temperatures 2026-06-27" with:"linespoints lw 3" 
file:"measured-temperature.png" timeind:1 timefmt:"%H:%M" set:"format x 
'%H:%M'" 
#+plot: labels:("Time" "Terrace South" "Westside" "Eastside" "Next Morning")
#+plot: set:"xlabel 'daytime / HH:MM'" set:"ylabel 'temperature / °C'"
|  time |   T1 |   T2 |   T3 |  T4* |
|-------+------+------+------+------|
|  7:30 |      |      |      | 28.8 |
|  8:14 | 32.3 | 31.1 |      |      |
|  9:14 | 33.3 | 32.8 |      |      |
|  9:38 | 34.8 | 33.3 |      |      |
| 10:38 | 37.8 | 35.5 |      |      |
| 11:32 | 41.1 | 37.2 |      |      |
| 12:53 | 41.7 | 37.7 |      |      |
| 14:01 | 42.6 | 41.6 |      |      |
| 15:07 | 42.8 |      |      |      |
| 17:38 | 41.9 |      |      |      |
| 18:35 | 40.4 |      |      |      |
| 19:57 | 38.4 |      | 38.6 |      |
| 21:16 | 35.4 |      |      |      |
| 23:18 | 30.4 |      |      |      |
| 24:41 | 28.4 |      |      |      |

Best wishes,
Arne

PS: #+plot: is great for quick plots on my website. Thank you very much
    for creating and maintaining it!


Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.51, 
cairo version 1.18.4)
Package: Org mode version 9.8.3 (N/A @ 
/gnu/store/kn9vix7hbqmdj2c4gyg73flhr0rynzbk-emacs-org-9.8.3/share/emacs/site-lisp/org-9.8.3/)

current state:
==============
(setq
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2 :properties 
("Effort"))
 org-latex-pdf-process '("pdflatex -interaction=nonstopmode -shell-escape 
-output-directory %o %f"
                         "pdflatex -interaction=nonstopmode -shell-escape 
-output-directory %o %f"
                         "pdflatex  -interaction=nonstopmode -shell-escape 
-output-directory %o %f")
 org-yank-image-file-name-function 'org-yank-image-autogen-filename
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-global-properties '(("Effort_ALL" . "0:30 1:00 2:00 3:00 6:00 8:00 16:00 
40:00"))
 org-html-mathjax-template "<script type=\"text/x-mathjax-config\">\n    
MathJax.Hub.Config({\n        displayAlign: \"%ALIGN\",\n        displayIndent: 
\"%INDENT\",\n\n        \"HTML-CSS\": { scale: %SCALE,\n                        
linebreaks: { automatic: \"%LINEBREAKS\" },\n                        webFont: 
\"%FONT\"\n                       },\n        SVG: {scale: %SCALE,\n            
  linebreaks: { automatic: \"%LINEBREAKS\" },\n              font: 
\"%FONT\"},\n        NativeMML: {scale: %SCALE},\n        TeX: { 
equationNumbers: {autoNumber: \"%AUTONUMBER\"},\n               MultLineWidth: 
\"%MULTLINEWIDTH\",\n               TagSide: \"%TAGSIDE\",\n               
TagIndent: \"%TAGINDENT\"\n             }\n});\n</script>\n<script 
type=\"text/javascript\" async\n        src=\"%PATH\"></script>"
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-jira-priority-to-org-priority-alist '(("Blocker" . 65) ("Critical" . 66) 
("Major" . 67) ("Minor" . 68))
 org-checkbox-hierarchical-statistics nil
 org-reveal-start-hook '(org-decrypt-entry)
 org-clock-out-hook '(kiwon/org-agenda-redo-in-other-window)
 org-after-todo-state-change-hook '(org-checklist 
kiwon/org-agenda-redo-in-other-window)
 org-default-notes-file "~/Plan/plan.org"
 org-clock-string-limit 22
 org-directory "~/Plan"
 org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
 org-plantuml-jar-path "~/.guix-profile/share/java/plantuml.jar"
 org-agenda-include-diary t
 org-jira-progress-issue-flow '(("Open" . "In Bearbeitung") ("In Bearbeitung" . 
"In Review")
                                ("In Review" . "Bearbeitet"))
 org-habit-show-all-today t
 org-structure-template-alist '(("k" . "kasten") ("a" . "export ascii") ("c" . 
"center") ("C" . "comment")
                                ("e" . "example") ("E" . "export") ("h" . 
"export html") ("l" . "export latex")
                                ("q" . "quote") ("s" . "src") ("v" . "verse"))
 org-jira-users nil
 org-babel-tangle-lang-exts '(("wisp" . "w") ("python" . "py") ("D" . "d") 
("C++" . "cpp") ("emacs-lisp" . "el")
                              ("elisp" . "el") ("bibtex" . "bib"))
 org-clock-report-include-clocking-task t
 org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-agenda-skip-additional-timestamps-same-entry t
 org-plantuml-exec-mode 'plantuml
 org-confirm-elisp-link-function 'yes-or-no-p
 org-src-tab-acts-natively nil
 org-agenda-finalize-hook '(#[nil ((org-agenda-to-appt t)) nil])
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-agenda-window-setup 'other-window
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . 
emacs) ("\\.pdf\\'" . default)
                 ("\\.xsd\\'" . emacs) ("\\.jssd\\'" . emacs))
 org-mime-src-mode-hook '(org-mime-src-mode-configure-edit-buffer)
 org-timestamp-custom-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")
 org-export-default-language 'de
 org-hide-leading-stars t
 org-html-prefer-user-labels t
 org-timer-default-timer "\"0:05:00\""
 org-confirm-shell-link-function 'yes-or-no-p
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-duration-format '((special . h:mm))
 org-plantuml-args '("")
 org-latex-src-block-backend 'minted
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-skip-timestamp-if-done t
 org-enforce-todo-dependencies t
 org-jira-done-states '("Closed" "Resolved" "Done" "Geschlossen" "Bearbeitet")
 org-ditaa-java-exec "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/.guix-profile/lib/ 
java"
 org-columns-default-format "%25ITEM %TODO %3PRIORITY %TAGS %17Effort(Estimated 
Effort){:} %CLOCKSUM"
 org-html-format-inlinetask-function 
'org-html-format-inlinetask-default-function
 org-extend-today-until 4
 org-confirm-babel-evaluate nil
 org-src-content-indentation 0
 org-agenda-clock-consistency-checks '(:max-duration "12:00" :min-duration 0 
:max-gap "0:05" :gap-ok-around
                                       ("4:00" "12:00") :default-face
                                       ((:background "DarkRed") (:foreground 
"white")) :overlap-face nil
                                       :gap-face nil :no-end-time-face nil 
:long-face nil :short-face nil)
 org-fold-reveal-start-hook '(org-decrypt-entry)
 org-bibtex-headline-format-function 'org-bibtex-headline-format-default
 org-checklist-export-function 'org-export-as-ascii
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-stuck-projects '("+LEVEL=2/-DONE" ("TODO" "NEXT" "NEXTACTION" "b" "/") nil 
"")
 org-agenda-start-with-clockreport-mode t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-history-length 50
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-sort-function 'string-collate-lessp
 org--warnings nil
 org-babel-pre-tangle-hook '(save-buffer)
 org-mairix-display-hook 'org-mairix-gnus-display-results
 org-highlight-latex-and-related '(latex script entities)
 org-clock-mode-line-total 'all
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-image-actual-width '(300)
 org-link-shell-confirm-function 'yes-or-no-p
 org-fold-core-isearch-open-function 'org-fold--isearch-reveal
 org-texinfo-format-headline-function 
'org-texinfo-format-headline-default-function
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-texinfo-format-inlinetask-function 
'org-texinfo-format-inlinetask-default-function
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-jira-priority-to-org-priority-omit-default-priority t
 org-modules '(org-bibtex org-crypt org-docview org-eww org-gnus org-habit 
org-info org-irc org-mhe org-rmail
               org-w3m)
 org-agenda-loop-over-headlines-in-active-region nil
 org-mairix-gnus-select-display-group-function 
'org-mairix-gnus-select-display-group-function-gg
 org-latex-packages-alist '(("" "color" t) ("" "minted" t) ("" "parskip" t))
 org-babel-python-command "python3"
 org-clock-out-when-done nil
 org-link-elisp-confirm-function 'yes-or-no-p
 org-clock-in-hook '(kiwon/org-agenda-redo-in-other-window)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-src-lang-modes '(("beamer" . LaTeX) ("latex" . LaTeX) ("C" . c) ("C++" . 
c++) ("asymptote" . asy)
                      ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) 
("ditaa" . artist)
                      ("desktop" . conf-desktop) ("dot" . graphviz-dot) 
("elisp" . emacs-lisp) ("ocaml" . tuareg)
                      ("screen" . shell-script) ("sqlite" . sql) ("toml" . 
conf-toml) ("shell" . sh) ("ash" . sh)
                      ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . sh) 
("dash" . sh) ("dtksh" . sh)
                      ("ksh" . sh) ("es" . sh) ("rc" . sh) ("itcsh" . sh) 
("tcsh" . sh) ("jcsh" . sh)
                      ("csh" . sh) ("ksh88" . sh) ("oash" . sh) ("pdksh" . sh) 
("mksh" . sh) ("posix" . sh)
                      ("wksh" . sh) ("wsh" . sh) ("zsh" . sh) ("rpm" . sh))
 org-agenda-skip-deadline-if-done t
 org-read-date-force-compatible-dates nil
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
                  org-cycle-optimize-window-after-visibility-change 
org-cycle-display-link-previews)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-priority-default 67
 )
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
https://www.draketo.de

Attachment: signature.asc
Description: PGP signature

Reply via email to