-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- figure copy - check Inkscape dir - options as varargin or struct - waitbar optional - export to pdf optional - works with inkscape v1.1.1
- Loading branch information
Showing
2 changed files
with
614 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
function ChangeInterpreter(h,Interpreter) | ||
% CHANGEINTERPRETER puts interpeters in figure h to Interpreter | ||
|
||
TexObj = findall(h,'Type','Text'); | ||
LegObj = findall(h,'Type','Legend'); | ||
AxeObj = findall(h,'Type','Axes'); | ||
ColObj = findall(h,'Type','Colorbar'); | ||
|
||
Obj = [TexObj;LegObj]; % Tex and Legend opbjects can be treated similar | ||
|
||
n_Obj = length(Obj); | ||
for i = 1:n_Obj | ||
Obj(i).Interpreter = Interpreter; | ||
end | ||
|
||
Obj = [AxeObj;ColObj]; % Axes and colorbar opbjects can be treated similar | ||
|
||
n_Obj = length(Obj); | ||
for i = 1:n_Obj | ||
Obj(i).TickLabelInterpreter = Interpreter; | ||
end | ||
end |
Oops, something went wrong.