File Exchange Pick of the Week

Our best user submissions

管理您的数字

吉罗's pick this week isUseful Figure Management UtilitiesbyMichelle Hirsch.

One of the reasons I really enjoy programming in MATLAB is the interactive development environment (IDE). The various components allow me to be productive when I'm developing an algorithm or analyzing some data. But what makes the environment even more powerful is the ability to programmatically customize some of the workflows. The 3 useful functions provided by Michelle help with managing your figure windows. The function names are self-explanatory, but here they are.

  • figshift- This is useful when you create a couple of figures and quickly want to be able to click back and forth between the two. Calling this function will shift the current figure window slightly from the previous window, allowing you to easily click between the two.
  • fillscreen- As the name suggests, this "maximizes" the figure window to fill the whole screen.
  • showmethefigs- This is my favorite. By calling this after you create all the figures, you can cycle through all the figure windows by hitting a key on your keyboard.

While you can use these functions directly from the Command Window, I find them most useful by sprinkling these within my script. This way, my figures will be placed appropriately at the end of the script.

冲浪(峰)填充屏幕图(rand(10,3))图间谍(Bucky)Figshift

注释

This entry was so useful that it inspired Mirko to create"Figure Management Utilities"with additional functionality. Do you have any other favorite utilities that allow you to be more productive with the MATLAB IDE? Tell us about it这里or leave acomment对于米歇尔。




Published with MATLAB® R2014a

|
  • print
  • send email

注释

To leave a comment, please click这里to sign in to your MathWorks Account or create a new one.