Why can't matlab2tikz represent annotations, such as textarrow, on figures?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nuno
am 9 Dez. 2013
Kommentiert: Nuno
am 10 Dez. 2013
Programe:
close all; clear all; clc
x=1:100; y=sin(x);
figure(1);
plot(x,y);
axis([0 100 -5 5]);
annotation('textarrow',[0.2 0.5],[0.2 0.5],'string','Note');
matlab2tikz('graph.tikz', 'height', '\figureheight', 'width', '\figurewidth');
Problem:
Warning: Don't know class 'scribe.textarrow'. Default handling.
> In matlab2tikz>userWarning at 4568
In matlab2tikz>drawHggroup at 2079
In matlab2tikz>handleAllChildren at 691
In matlab2tikz>drawAxes at 874
In matlab2tikz>saveToFile at 505
In matlab2tikz at 414
Thanks to all.
2 Kommentare
sixwwwwww
am 9 Dez. 2013
matlab2tikz is not a predefined function of MATLAB. Can you show the function itself to find the source of error within that function?
Akzeptierte Antwort
Walter Roberson
am 9 Dez. 2013
It appears that you may be using http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
Questions about why it does or does not support something should be addressed to the author of the code. The File Exchange is code contributed by volunteers.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!