Giter Club home page Giter Club logo

Comments (4)

mtreca avatar mtreca commented on June 18, 2024

Hello and sorry for the (very late) reply.

My gnuplot skill level is not great, so I can't really answer your question here.

I am going to close this issue since it is definitely a question related to gnuplot and not gnuplot.el, but if any gnuplot whizz finds this thread and knows the answer they can feel free to re-open it and answer.

from gnuplot.

mfrasca avatar mfrasca commented on June 18, 2024

ooh, so sorry, I had forgotten about having ever opened this issue here, thank you for reviving it. I have implemented it myself within org-mode org-plot (mfrasca/org-mode.git), but gave up trying to get it included in whatever it was where it would fit. this is the test case I have, and which succeeds.

(ert-deftest test-org-plot/zip-deps-with ()
  "Test `org-plot/zip-deps-with' specifications."
  ;; no deps, no with. defaults to all except ind, and "lines"
  (should
   (equal (org-plot/zip-deps-with 3 1 nil nil)
	  '((2 . "lines") (3 . "lines"))))
  ;; no deps, single with. defaults to all except ind, and repeated with
  (should
   (equal (org-plot/zip-deps-with 3 1 nil "hist")
	  '((2 . "hist") (3 . "hist"))))
  ;; no deps, explicit with
  (should
   (equal (org-plot/zip-deps-with 3 1 nil '("points" "hist"))
	  '((2 . "points") (3 . "hist"))))
  ;; explicit with, same length as deps
  (should
   (equal (org-plot/zip-deps-with 5 1 '(2 4) '("points" "hist"))
	  '((2 . "points") (4 . "hist"))))
  ;; same as above, but different order
  (should
   (equal (org-plot/zip-deps-with 5 1 '(4 2) '("points" "hist"))
	  '((4 . "points") (2 . "hist"))))
  ;; if with exceeds deps, trailing elements are discarded
  (should
   (equal (org-plot/zip-deps-with 5 1 '(4 2) '("points" "hist" "lines"))
	  '((4 . "points") (2 . "hist"))))
  ;; fills in with "lines"
  (should
   (equal (org-plot/zip-deps-with 5 1 '(4 2 3) '("points"))
	  '((4 . "points") (2 . "lines") (3 . "lines")))))```

from gnuplot.

mtreca avatar mtreca commented on June 18, 2024

I guess that would depend on ob-gnuplot then, but I might be wrong.
In any case, you're more than welcome to submit a PR if you can find a solution to your problem that could benefit others!

from gnuplot.

mfrasca avatar mfrasca commented on June 18, 2024

possibly we're both wrong. I dislike ob-gnuplot and I insist using org-plot/gnuplot, apparently abandonware within org.
let's say next time I'm busy with it, I'll reconsider contacting the community with a patch. at the moment I have it in my phone, and my laptop, and I've not been using it for some 4 months, at least.

from gnuplot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.