bugGNU Octave - Bugs: bug #55722, dashed line is printed as solid...

 
 

bug #55722: dashed line is printed as solid with "-dtikz" driver

Submitter:  vasiliy <vasiliy22>
Submitted:  Sat 16 Feb 2019 05:42:22 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Feb 2019 02:01:01 AM UTC, comment #5: 

This is not a duplicate of bug #54793. That bug is about the dashed line being shown solid in the legend box (if I read it right). In this bug, the legend has a correct dashed line but the plot line itself is not dashed. I can reproduce this with Octave 5 and the qt toolkit using the OP's provided script. I cannot reproduce with a minimal example yet that just plots a random dashed line.

@vasiliy - It would be extremely helpful if you could reduce your script to a minimal example that shows what causes this behavior. Do you agree that a simple script like


plot (rand (100, 1), '--');
print ('foo.tex', '-dtikz');


does not demonstrate this bug?

Mike Miller <mtmiller>
Group Member
Sun 24 Feb 2019 04:34:07 AM UTC, comment #4: 

This is not a bug fix but perhaps a workround

How about if you use gnuplot graphics_toolkit?

In that case, gnuplot produce a tikz file but not a PGF file.

Tatsuro MATSUOKA <tmacchant>
Sun 17 Feb 2019 04:46:56 PM UTC, comment #3: 

-deps and -depsc work fine too

vasiliy <vasiliy22>
Sun 17 Feb 2019 04:42:14 PM UTC, comment #2: 

Just tested with octave 4.4.2 (with 5.0.91 and 4.2.2 the problem with -dtikz was the same): export to svg and to jpg works correctly.

vasiliy <vasiliy22>
Sun 17 Feb 2019 04:30:11 PM UTC, comment #1: 

We already have a similar report, bug #54793, in which the SVG output is correct but the EPS output has the same issue. Could you check whether this is a duplicate?

Pantxo Diribarne <pantxo>
Group Member
Sat 16 Feb 2019 05:42:22 PM UTC, original submission:  

The line, that should be dashed, is plotted as solid. Relevant post:

https://gitlab.onelab.info/gl2ps/gl2ps/issues/28#note_6401

in legend the line seems to appear correctly

vasiliy <vasiliy22>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46282:  synthese_dos_trayectories.m added by vasiliy22 (6KiB - application/vnd.wolfram.mathematica.package)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tmacchant (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by vasiliy22 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller Severity3 - Normal 2 - Minor
        Item GroupNone Incorrect Result
        StatusNeed Info Confirmed
        Release5.0.91 dev
    2019-02-17 pantxo StatusNone Need Info
    2019-02-16 vasiliy22 Attached File- Added synthese_dos_trayectories.m, #46282
        Attached File- Added superficies_switcheos_extendidos.tex, #46283

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code