[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61823] error when printing on file a figure c
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #61823] error when printing on file a figure containing uitable object |
Date: |
Fri, 14 Jan 2022 07:09:54 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?61823>
Summary: error when printing on file a figure containing
uitable object
Project: GNU Octave
Submitted by: None
Submitted on: Fri 14 Jan 2022 12:09:53 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Giuseppe Catastini
Originator Email: giuseppe.catastini@gmail.com
Open/Closed: Open
Release: 6.4.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Dear all, I'm experiencing the following error with Octave 6.4.
Hereafter you may find a sample script that properly generates the figure, but
that fails when printing the figure on a png file. I'm not able also to save
the picture from the figure File/Save_as menu.
I have also attached the code as demo_error.m script.
f=figure('position',[100 100 650 270]);
c = uicontrol(f,'Style','text','Position',[55 155 500 155],'String','Demo
Error');
data = rand(5,4)*10;
colnames = {'100 km', '200 km','300 km','400 km'};
rownames = {'10 deg', '20 deg','30 deg','40 deg','50 deg'};
f = uitable(f, 'Data', data, 'ColumnName',
colnames,'RowName',rownames,'Position', [10 20 610 200]);
print('-dpng','-r360','demo_error.png');
error: matrix cannot be indexed with {
error: called from
__print_parse_opts__ at line 253 column 14
print at line 415 column 8
demo_error at line 11 column 2
Thank you in advance.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 14 Jan 2022 12:09:53 PM UTC Name: demo_error.m Size: 421B By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=52668>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61823>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61823] error when printing on file a figure containing uitable object,
anonymous <=