[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47907] Plot with tex legend
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #47907] Plot with tex legend |
Date: |
Thu, 12 May 2016 13:53:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?47907>
Summary: Plot with tex legend
Project: GNU Octave
Submitted by: None
Submitted on: Thu 12 May 2016 01:53:46 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name: Denis Sipchenko
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.2
Operating System: Microsoft Windows
_______________________________________________________
Details:
1) Don't save invisible figures ('visible', 'off'), like in MATLAB
2) legend - tex interpreter stylished text not saved
3) legend - saved with transparent color (visible gridlines under text)
Simple CODE example and OUTPUT in attachment
close all, clear all
fh=figure(1, 'position',[111,111,777,333],'visible', 'on');
n=4;
plot(1:n, magic(n),'.-'), grid on
print(fh,'RefrenceOk', '-dpng','-S777,333')
% PROBLEMS
=====================================================================
%% 1) Don't save invisible figures, like in MATLAB
(bug1log.txt)----------------
%% Affected functions: print, saveas
%% Log files: bug1log.txt
set(fh, 'visible', 'off');
print(fh,'visibleOff', '-dpng','-S777,333')
%% 2) Don't save figures with following legend
---------------------------------
%% Affected functions: print, saveas
%% Log files: bug2log.txt, bug2estimated.png
%%
%% 2.1 c
%% 2.2 Sometimes, if picture saved succesfully:
%% 2.2.1 legend saved with transparent color (visible gridlines under
text)
%% 2.2.2 tex interpreter stylished text not saved
lh=legend(...
{'1)(\bf print, saveas}: can''t save legend with OPAQUE background color
(grid is visible) ' ...
,'2){\bf print, saveas}: don''t save stylish text (by tex interpreter) '
...
,'3)\color{[1 0 0]}{\bf tex interpreter don''t work with colors:} this text
estimated in red ' ...
,'4)\bf4th' ...
});
set(lh,'color',[.8 .8 .8])
print(fh,'RefrenceOk', '-dpng','-S777,333')
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 12 May 2016 01:53:46 PM UTC Name: BugPackReport.zip Size: 22kB
By: None
<http://savannah.gnu.org/bugs/download.php?file_id=37141>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47907>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47907] Plot with tex legend,
anonymous <=
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Mike Miller, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Michael Godfrey, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Mike Miller, 2016/05/12
- [Octave-bug-tracker] [bug #47907] TeX rgb color syntax not handled, Rik, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Rik, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13
- [Octave-bug-tracker] [bug #47907] TeX interpreter rgb color syntax not documented, Mike Miller, 2016/05/13