How can i save my box plot graph of Kruskal wallis test in PDF?

2 ビュー (過去 30 日間)
Anmol Mathur
Anmol Mathur 2020 年 11 月 22 日
編集済み: Prabhanjan Mentla 2020 年 11 月 25 日
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?

回答 (1 件)

Prabhanjan Mentla
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');
Refer this link for more information on publish command along with the options.
Hope this helps.

カテゴリ

Help Center および File ExchangeAnalysis of Variance and Covariance についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by