bugGNU Octave - Bugs: bug #43429, print() doesn't return file for...

 
 

bug #43429: print() doesn't return file for invisible figures

Submitter:  Nico <nschloe>
Submitted:  Fri 17 Oct 2014 10:18:03 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 22 Oct 2014 09:56:14 PM UTC, comment #2: 

Your suggestion works indeed. Thanks!

Nico <nschloe>
Fri 17 Oct 2014 11:32:51 AM UTC, comment #1: 

Hi,

Thanks for your bug report. This is a known issue wiith fltk graphics toolkit (the default for 3.8 series). See bug #33180.

If you can confirm that it works with gnuplot, e.g.


graphics_toolkit gnuplot
close all
hf = figure ("visible", "off");
plot (1:10);
print foo.png


I'll close the bug report.

Pantxo Diribarne <pantxo>
Group Member
Fri 17 Oct 2014 10:18:03 AM UTC, original submission:  

As opposed to MATLAB, in Octave there is no way for printing an invisible figure to a file.

MWE:
```
set(0,'DefaultFigureVisible','off');
plot([1,2], [1,2])
print('test.pdf','-dpdf')
```

Nico <nschloe>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

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 nschloe (Submitted the item)
  • -email is unavailable- added by nschloe
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-22 pantxo StatusNeed Info Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #33180
    2014-10-17 pantxo StatusNone Need Info
    2014-10-17 nschloe Carbon-Copy- Added nschloe

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code