JimHokanson / matlab_standard_library

Standard Library for my Matlab Projects
MIT License
8 stars 10 forks source link

Add gzoom to global_namespace_functions #48

Closed GregGoldman closed 7 years ago

GregGoldman commented 7 years ago

There is a great function for extending axes of a graph so nothing gets plotted on the edges. See http://pundit.pratt.duke.edu/wiki/MATLAB:Plotting and scroll down to the gzoom section. I'd like to add it with Jim's approval.

JimHokanson commented 7 years ago

This would be fine somewhere in sl.plot with an appropriate name change. I don't think it is a good fit for the global namespace since I wouldn't use it during debugging.

JimHokanson commented 7 years ago

I ended up having a use case for this just now and copied it to sl.plot.postp.scaleAxisLimits