graph size x and y

Hi! I am using this command to plot a matrix

levelplot(mydata, scales=list(x=list(at=seq(0,648,48), cex=1)))

But what should be added to increase the height (y-axis) of the graph (change the dimension of Y and X)?, because it is very elongated in X but very compressed in Y.

Thanks

Hi @rsg , if I undestand well, you need use xlim and ylim, but this depend the lenght of the data.

For better help you, remember put a reproducible example of his data. Is easy with dput() .

levelplot(mydata, scales=list(x=list(at=seq(0,648,48), cex=1)), 
xlim=c(0,5000),
ylim=c(0,5000))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.