Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Functions | |
set (fig,'Units','points') set(fig | |
set (fig, 'PaperPosition',[0 0 pos(3) pos(4)]) | |
set (fig, 'PaperSize',[pos(3) pos(4)]) | |
print (fig, '-dpng','-r100',[savename '.png']) | |
print (fig, '-dpdf',[savename '.pdf']) | |
print (fig, '-depsc',[savename '.eps']) | |
saveas (fig,[savename '.pdf']) | |
disp (['Updated Save canvas:Saved to 'savename '.png/.eps/.fig']) | |
Variables | |
function | prefix |
end | savename = [savename '.' get(fig,'Name')] |
paperunits | |
points | pos = get(fig,'position') |
disp | ( | ) |
( | fig | , | |
'-dpng' | , | ||
'-r100' | |||
) |
( | fig | , | |
'-dpdf' | |||
) |
( | fig | , | |
'-depsc' | |||
) |
saveas | ( | fig | ) |
set | ( | fig | , |
'Units' | , | ||
'points' | |||
) |
set | ( | fig | , |
'PaperPosition' | |||
) |
set | ( | fig | , |
'PaperSize' | |||
) |
paperunits |
Definition at line 11 of file SaveCanvas.m.
View newest version in sPHENIX GitHub at line 11 of file SaveCanvas.m
points pos = get(fig,'position') |
Definition at line 12 of file SaveCanvas.m.
View newest version in sPHENIX GitHub at line 12 of file SaveCanvas.m
prefix |
Definition at line 1 of file SaveCanvas.m.
View newest version in sPHENIX GitHub at line 1 of file SaveCanvas.m
end savename = [savename '.' get(fig,'Name')] |
Definition at line 7 of file SaveCanvas.m.
View newest version in sPHENIX GitHub at line 7 of file SaveCanvas.m