shiny plot based on window size

Trying to understand your issue, what is the outcome when you use either 'auto' or '100%' for width and height arguments of plotOutput ?

It would be helpful if you could describe it more. Try providing a reproducible example so that there is more background to your question. You may construct the example with a sample data set. Also, consider attaching images if it is relevant.