[Top][All Lists]

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

Error in print latex standalone

From: Joao Rodrigues
Subject: Error in print latex standalone
Date: Thu, 13 Sep 2018 11:41:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1


I want to generate standalone plots with superscripts/Latex annotations in the text, but I am getting error messages.

An example from the manual (

x = 0:0.01:3;
hf = figure ();
plot (x, erf (x));
hold on;
plot (x, x, "r");
axis ([0, 3, 0, 1]);
text (0.65, 0.6175, ['$\displaystyle\leftarrow x = {2 \over \sqrt{\pi}}'...
                     '\int_{0}^{x} e^{-t^2} dt = 0.6175$'],
      "interpreter", "latex");
xlabel ("x");
ylabel ("erf (x)");
title ("erf (x) with text annotation");
print (hf, "plot15_7.pdf", "-dpdflatexstandalone");


error: print.m: error opening file 'plot15_7.tex'
error: called from
    print>latex_standalone at line 686 column 5
    __opengl_print__ at line 176 column 5
    print at line 434 column 14

The version is GNU Octave, version 4.0.0 and the operating system is Ubuntu 16.04.5 LTS.

Any suggestion is appreciated.

reply via email to

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