Edit plot of in-built functions
이전 댓글 표시
Hi,
I am using functions from online addons.
Example:
chiplot(S,DEM,A);
This output produces a graph that I cannot edit.

If I add the function code at the end of the usual formatting code, the output gives two plots, one associated with the function and one associated with the formatting code. The plot formtting code does not assimilate into the chi function code and does not change the chi plot (above).
figure('units','normalized','outerposition',[0 0 1 1]);
font_size =32;
hold on
set(0, 'DefaultAxesFontSize', font_size);
% Set the font size for the figure
set(gcf,'color','w'); % shows you what you are using.
set(gca,'linewidth',3, 'fontname','times') % Set it to times
ZZ = chiplot(S,DEM,A,'mnplot',true,'plot',false)
How can I change the background color or font size on the graph (like I can do with graphs produced by the normal plot function)?
댓글 수: 3
Ameer Hamza
2020년 4월 17일
chiplot is not a function provided by MATLAB toolboxes. Are you using from here: https://www.mathworks.com/matlabcentral/fileexchange/50124-topotoolbox? What are the values of S, DEM, and A?
Ameer Hamza
2020년 4월 17일
Can you attach a code, which will define the variables S, DEM, and A?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!