Question: how to make output plot from heatmap.2 square shaped?
0
gravatar for yanyanliujs
16 months ago by
yanyanliujs0 wrote:

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.

R • 865 views
ADD COMMENTlink modified 16 months ago • written 16 months ago by yanyanliujs0

you can drag the plot window as much as u want !!

ADD REPLYlink written 16 months ago by Tanvir Ahamed 270
0
gravatar for yanyanliujs
16 months ago by
yanyanliujs0 wrote:

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.

ADD COMMENTlink written 16 months ago by yanyanliujs0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2116 users visited in the last hour