Jump to content
TUFLOW FV
Guest Rob

Vectors on sheet plot - how to keep axis scaling constant?

Recommended Posts

Guest Rob

When I use fvg_sheetvec, the X & Y axis limits on my sheet plot change to accommodate the changing vector arrows.  Is there a way to keep a constant X & Y limit that is not changed automatically when fvg_sheetvec updates?

 

Share this post


Link to post
Share on other sites

You can set the axis properties         'xlimmode' and 'ylimmode'   to 'manual'.   matlab will otherwise try to change scale to accommodate anything that is plotted.

 

If you set the xlim, or ylim specifically, or if you zoom in, matlab automatically switches this manual feature on.

set(gca, 'XLimMode','manual', 'YLimMode', 'manual')

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...