I am creating a figure with 6 sub figures, all with its own title. At the end I want to display a title using sgtitle for the figure. This works well and then I am exporting my figure using print. However, after the print step, the title of the figure dissappears. Below is a snippet of my script.
summaryTitle = sprintf(summaryTitle, Name,iFrame, percentage,... SR,DS,answer3,xLength); sgtitle(summaryTitle, 'Interpreter', 'none'); pdfTitle = Class+"_summary of Image_"+num2str(iFrame, '%05i'); mkdir (fullfile(selpath,'CroppedImages','Reports')); print(pdfTitle, '-dpdf', '-fillpage','-r600'); summaryPath = fullfile(selpath,'CroppedImages','Reports'); movefile(pdfTitle +".pdf",summaryPath);
The problem occurs everytime the script passes the line with print.
ANSWER
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
SEE COMPLETE ANSWER CLICK THE LINK