bugGNU Octave - Bugs: bug #58902, Colorbar disappears on print with...

 
 

bug #58902: Colorbar disappears on print with pdflatex device

Submitted by:  vasiliy <vasiliy22>
Submitted on:  Wed 05 Aug 2020 08:38:11 AM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  5.1.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 05 Aug 2020 01:45:57 PM UTC, comment #1: 

Thanks for your report. I cannot reproduce the incorrect size of the colorbar image but I can confirm the ylabel disappearing. The latter is a known issue: colorbar changes the activepositionproperty of the axes. You can workaround this bug by changing the property back to "outerposition" before printing:

...
set (gca, "activepositionproperty", "outerposition")
print("settling-times", "-dpdflatexstandalone");

As for the first reported problem (wrong scale for the colorbar image), I used to observe the same issue with old versions of gl2ps, but it was fixed in gl2ps 1.3.8 or 1.3.9. Are you using an old gl2ps?

Pantxo Diribarne <pantxo>
Project Member
Wed 05 Aug 2020 08:38:11 AM UTC, original submission:  

plotting with pcolor/imagesc and colorbar renders to a buggy colorbar, if pdflatex device is selected.

Moreover, axis labels disappear too (out of frame).

vasiliy <vasiliy22>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49632:  set_times.mat added by vasiliy22 (17KiB - application/octet-stream)
file #49633:  settling-times.pdf added by vasiliy22 (78KiB - application/pdf)
file #49631:  settling_times.m added by vasiliy22 (614B - 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 pantxo (Posted a comment)
  • -email is unavailable- added by vasiliy22 (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-05 pantxo Item GroupNone => Incorrect Result
        StatusNone => Need Info
    2020-08-05 vasiliy22 Attached File- => Added settling_times.m, #49631
        Attached File- => Added set_times.mat, #49632
        Attached File- => Added settling-times.pdf, #49633

    Back to the top


    Powered by Savane 3.5