Right and top axes disappear when I hold on a figure

79 次查看(过去 30 天)
Hello,
My question seems so stupid that I feel obliged to say I have already looked for an answer on Mathworks. When I use hold on with a figure, the right and top axes of the figure disappear. I would like to get all four axes so that my figure has a real frame. Any idea on how I can do that?
Thank you very much,
  8 个评论
Paolo Manfredi
Paolo Manfredi 2019-4-3
I had the same issue. "Box on" solves it. Thanks for the hint!
Tony Hu
Tony Hu 2020-12-15
Thanks for the explanation, I found one of the subplots has a 'hold on' command before plot. Everything happens for a reason, indeed.

请先登录,再进行评论。

采纳的回答

Pl Pl
Pl Pl 2013-8-8
编辑:Pl Pl 2013-8-8
For those having a similar problem, what worked for me was the solution provided by Sandip here : http://www.mathworks.com/matlabcentral/answers/84308#comment_163486

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by