bugGNU Octave - Bugs: bug #49003, tikz does not work with gnuplot...

 
 

bug #49003: tikz does not work with gnuplot graphics toolkit

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Mon 05 Sep 2016 12:09:24 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Tatsuro MATSUOKAOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 15 Sep 2016 12:26:10 AM UTC, comment #8:

I have pulled and update the development source and confirmed that the patch has been attached and fixed the problem.

>Can this bug report be closed now since the remaining issues are upstream in gnuplot?


Yes this report can be closed.

Thanks for Daniel and Rik.

Tatsuro MATSUOKA <tmacchant>
Wed 14 Sep 2016 03:41:05 PM UTC, comment #7:

I pushed Dan's cset from comment #4 here (http://hg.savannah.gnu.org/hgweb/octave/rev/a7d6c66e91e4).

Can this bug report be closed now since the remaining issues are upstream in gnuplot?

Rik <rik5>
Project Administrator
Wed 14 Sep 2016 03:22:00 AM UTC, comment #6:

Related to comment #1 and comment #5.

I have created a bug ticket for "set termoption" for tikz terminal.
https://sourceforge.net/p/gnuplot/bugs/1856/

However, the option for tikz terminal will not to be re-implemented.
(See also https://sourceforge.net/p/gnuplot/bugs/1828/)

Therefore I closed that ticket.
Treatment should be done on octave side so that please apply the patch by Daniel on comment #4

Tatsuro MATSUOKA <tmacchant>
Tue 13 Sep 2016 08:05:37 AM UTC, comment #5:

Daniel

Thank you for taking time for this matter.

Changeset on comment #4 works for me.

I hope that this patch attached to 4.2.0 dev tree.

For bug of gnuplot 5 in your comment (comment #2),
I will report in gnuplot bug ticket.

Tatsuro MATSUOKA <tmacchant>
Tue 13 Sep 2016 07:01:36 AM UTC, comment #4:

In the _gnuplot_has_feature_.m file is "dashtype" feature for greater than or equal to version 5.0. So, hopefully, the gnuplot_toolkit scripts know enough to use the dashtype route, it's just that it hasn't realized "termoption dashed" isn't needed if the dashtype is present. So let me simplify the changeset, since "dashtype" and "lost_termoption_dashed" are really synonyms. Try the attached.

(file #38498)

Dan Sebald <sebald>
Tue 13 Sep 2016 06:40:22 AM UTC, comment #3:

How about a changeset like the attached? When I have gnuplot 5.x active, the dashed lines still seem to function properly in Octave:

The result of "pdflatex test.tex" at the terminal window for the second case is attached as well.

(file #38496, file #38497)

Dan Sebald <sebald>
Tue 13 Sep 2016 05:34:54 AM UTC, comment #2:

It's a very busy week here, but I've verified the problem you've found. I think this may be a gnuplot bug, at least if I'm understanding correctly. Here's the help from gnuplot:

From what I recall, gnuplot version 5 introduced better dash-pattern control so that the terminal wasn't left with the task of making dashed or solid patters. Does that sound correct? All of the other terminals I've selected in gnuplot accept the "set termoption dashed", but tikz gives a warning:

This is only a warning though. I still get the file test.tex as an output. I'm able to compile test.tex with "pdflatex" (see attached file). Trying to process test.tex with "latex" compiles but cannot create a valid PS file from the DVI file--the file only has the white background.

(file #38495)

Dan Sebald <sebald>
Mon 12 Sep 2016 09:32:53 AM UTC, comment #1:

Daniel
If you have time, please see this bug.

Tatsuro MATSUOKA <tmacchant>
Mon 05 Sep 2016 12:09:24 AM UTC, original submission:

The above gives

In "help print" (also manual) on development version, there described

The functionality written in the help (also manual) does not work.

The bug preferably is fixed before 4.2 release.

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #38497:  test.pdf added by sebald (5KiB - application/force-download)
file #38495:  test.pdf added by sebald (5KiB - application/force-download)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by tmacchant
  • -unavailable- added by tmacchant
  • -unavailable- added by tmacchant
  • -unavailable- added by sebald (Updated the item)
  • -unavailable- added by tmacchant
  • -unavailable- added by tmacchant (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 15 Sep 2016 12:27:00 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 14 Sep 2016 03:41:05 PM UTCrik5StatusNone=>Ready For Test
    Wed 14 Sep 2016 03:22:00 AM UTCtmacchantCarbon-Copy-=>Added mike miller
      Carbon-Copy-=>Added john w. eaton
      Carbon-Copy-=>Added rik
    Tue 13 Sep 2016 07:01:36 AM UTCsebaldAttached File-=>Added octave-gnuplot_termoption_dashed_bug49003-djs2016sep14.patch, #38498
    Tue 13 Sep 2016 06:40:22 AM UTCsebaldAttached File-=>Added octave-gnuplot_termoption_dashed_bug49003-djs2016sep13.patch, #38496
      Attached File-=>Added test.pdf, #38497
    Tue 13 Sep 2016 05:34:54 AM UTCsebaldAttached File-=>Added test.pdf, #38495
    Mon 12 Sep 2016 09:32:53 AM UTCtmacchantCarbon-Copy-=>Added dan sebald

    Back to the top


    Powered by Savane 3.1-cleanup1