How can i save my box plot graph of Kruskal wallis test in PDF?
2 次查看(过去 30 天)
显示 更早的评论
To calculate the Kruskal wallis test i have use this code
p =kruskalwallis(log(q),[],'on')
Now this generate an ANOVA table and a box plot of it alog with it. How can we save the graphs and anova table to a single PDF?
0 个评论
回答(1 个)
Prabhanjan Mentla
2020-11-25
编辑:Prabhanjan Mentla
2020-11-25
Hi,
You can use publish command to save ANOVA table and a box plot in a pdf, also you can hide the code in the output pdf using options_doc_nocode.showCode option, which will be covered in the below link
This command helps to publish a pdf along with code.
output = publish('Sample.mlx','pdf');
Hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!