octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55164] wrong LaTeX text position when printin


From: Leonardo
Subject: [Octave-bug-tracker] [bug #55164] wrong LaTeX text position when printing to SVG format
Date: Tue, 4 Dec 2018 19:22:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

URL:
  <https://savannah.gnu.org/bugs/?55164>

                 Summary: wrong LaTeX text position when printing to SVG
format
                 Project: GNU Octave
            Submitted by: pocker
            Submitted on: Wed 05 Dec 2018 12:22:28 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

when printing a plot to SVG format, LaTeX text is placed "over" other texts
(see figure1.svg attached)

printing to another format produces correct results (see figure2.png
attached)

code example:


clear all
close all
x = linspace(0,2*pi,64);
y = cos(pi*x/2);
plot(x,y)
hold on
text(3,0,'y(x) = cos(\pi x/2)','fontsize',20)
hold off
print -dsvg figure1.svg
print -dpng figure2.png





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 Dec 2018 12:22:28 AM UTC  Name: figure1.svg  Size: 9KiB   By:
pocker

<http://savannah.gnu.org/bugs/download.php?file_id=45581>
-------------------------------------------------------
Date: Wed 05 Dec 2018 12:22:28 AM UTC  Name: figure2.png  Size: 20KiB   By:
pocker

<http://savannah.gnu.org/bugs/download.php?file_id=45582>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55164>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]