Matlab uitable position issue
3 ビュー (過去 30 日間)
古いコメントを表示
I am trying to print a figure which has subplots on it. One of the subplots is a uitable, with the data I want to display. The figure looks nicely formatted on the matlab figure screen but as soon as I print the figure to a pdf file the uitable data disappears. Attached is a tiny piece of code which would demonstrate what I am seeing. How can I ensure that the full uitable is printed to a pdf, or tleast print what I am seeing in the matlab figure. I am guessing this is due to my lack of understanding of Matlab's figure positioning.
figP = figure ;
figP.Units = 'normalize';
figP.Position = [0 0 1 1];
t = uitable(figP,'Data',magic(3))
figP.PaperUnits ='normalized';
figP.PaperPosition = [ 0 0 1 1];
print(figP, '-dpdf', 'test.pdf');
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!