how to make output plot from heatmap.2 square shaped?
how to make output plot from heatmap.2 square shaped?
My input is a correlation data frame, so it is square-shaped df. I wanted the output graph to be square shaped. It currently has a rectangular shape, the width is 2 times of length. I have tried cexCol and cexRow to change the cell shape, but it does not work.
Thank you in advance for your help.
• 3,633 views
•
link
1 answer
thanks. I accidentally saved the graph into png, and it is square shaped. Somehow, when I save in pdf, it not square shaped. So problem solved.
• 0 views
•
link
Log in to answer this question.
you can drag the plot window as much as u want !!