[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53206] Print function adding spaces to labels
From: |
William Donahue |
Subject: |
[Octave-bug-tracker] [bug #53206] Print function adding spaces to labels (specifically related to superscript &subscript) |
Date: |
Thu, 22 Feb 2018 11:17:08 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?53206>
Summary: Print function adding spaces to labels (specifically
related to superscript &subscript)
Project: GNU Octave
Submitted by: wdonah2
Submitted on: Thu 22 Feb 2018 04:17:06 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: William Donahue
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Octave print function adds 3 additional spaces proceeding subscript and
superscript regions. This occurs independent of renderer used and output file
format. On screen representation is correct however.
The code below is the minimum reproducible example. Note, the on screen
version looks fine, while the saved image does not.
close all
clear all
x = -10:10;
y = x.^2+5*x+7;
h=figure()
plot (x,y ,'o')
text (-4,50,"Example Error (mm^{3})")
xlabel("blah blah (unit_{8})")
ylabel("more blah (unit2^{28}_3)")
%occurs independent of graphics_toolkit and output format
print(h, "BugImage.eps","-depsc");
System Info:
GNU Octave, version 4.2.1 configured for "x86_64-redhat-linux-gnu"
Fedora 26 (4.15.3-200.fc26.x86_64)
Let me know if you need any more info
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 22 Feb 2018 04:17:06 PM UTC Name: OnscreenRender.png Size: 27KiB
By: wdonah2
<http://savannah.gnu.org/bugs/download.php?file_id=43384>
-------------------------------------------------------
Date: Thu 22 Feb 2018 04:17:06 PM UTC Name: ImageCreatedWithPrint.png Size:
51KiB By: wdonah2
<http://savannah.gnu.org/bugs/download.php?file_id=43385>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53206>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53206] Print function adding spaces to labels (specifically related to superscript &subscript),
William Donahue <=