Rank: 18 based on 7036 downloads (last 30 days) and 35 files submitted
photo

Scott Hirsch

E-mail
Company/University
The MathWorks
Lat/Long
42.3, -71.6

Personal Profile:

I'm the head of MATLAB Product Management at The MathWorks. I've been a heavy user of MATLAB since the mid 90s, and now work to represent the voice of the user as we continue to improve MATLAB. Feel free to drop me a line and let me know what you'd like to see us work on.

Professional Interests:
MATLAB

 

Watch this Author's files

 

Files Posted by Scott View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Oct 2009 Screenshot dualcursor Add dual vertical cursors to a plot. Author: Scott Hirsch datalabel, customization, potw, cursors, ginput, marker 416 14
  • 5.0
5.0 | 10 ratings
12 Jun 2009 Screenshot xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Scott Hirsch data export, excel 190 2
  • 4.5
4.5 | 2 ratings
20 Feb 2009 Screenshot timetick Time formatted tick labels. Author: Scott Hirsch microseco, microseconds, second, seconds, strings, milisecond 189 8
  • 3.5
3.5 | 6 ratings
19 Dec 2008 Screenshot thermometer A graphical thermometer display, suitable for real-time applications. Author: Scott Hirsch real time, plotting, thermometer, temperature, data acquisition, specialized 240 1
  • 4.0
4.0 | 1 rating
12 Sep 2007 Published M-Files SHADOWPLOT Add a shadow to an existing surface plot. Author: Scott Hirsch 3d, plotting, surface, specialized, shadow 220 2
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Scott
Updated File Comments Rating
19 Jun 2009 Close all figures except those listed Close all figures except those listed by the user. Author: Karl

I love it. Not sure how I got along for 15 years without it! One small note - the "last" syntax actually keeps the current figure open, which wasn't necessarily the last one created. I love this behavior so much, that I tweaked CAB to do this with no input arguments, too.

Thanks for a simple, elegant, and very useful function.

Comments and Ratings on Scott's Files View all
Updated File Comment by Comments Rating
27 Oct 2009 dualcursor Add dual vertical cursors to a plot. Author: Scott Hirsch Roy

If you have multiple plots in one figure how do you select which one to select?
Really nice work.

02 Sep 2009 xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Scott Hirsch Anand

Hello Scott,

Thanks for the M-File. Its very helpful.

I had few queries:
1. Can we resize the figure in Excel automatically.
2. I am running a loop, so the same set of instructions are iterated. Is there any way by which we could advance the cell where the figure has to be saved.

Any help is appreciated.

Thanks
Anand

27 Aug 2009 xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Scott Hirsch Lindberg, Peter

27 Aug 2009 xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Scott Hirsch Lindberg, Peter

I've added a "add a new worksheet function":

WorkSheets = Excel.sheets;
message = struct('message',{''},'identifier',{''});

try
    Sheets = Excel.ActiveWorkBook.Sheets;
    target_sheet = get(Sheets, 'Item', sheetname);
catch %#ok<CTCH> Suppress so that this function works in releases without MException
    % Error if the sheet doesn't exist. It would be nice to create it, but
    % I'm too lazy.
    % The alternative to try/catch is to call xlsfinfo to see if the sheet exists, but
    % that's really slow.
    disp(['Sheet ' sheetname ' does not exist!']);
    Sheet = invoke(WorkSheets,'Add')
    Sheet.name = sheetname
    target_sheet = Sheet
end;

20 Aug 2009 xlswrite Easily create an Excel spreadsheet from MATLAB. Author: Scott Hirsch Xavier

Hi, I want to know if there are some way to write in excel 2007 format (*.xlsx)

Top Tags Applied by Scott
example, application, data acquisition, realtime, plotting
Files Tagged by Scott View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Oct 2009 Screenshot dualcursor Add dual vertical cursors to a plot. Author: Scott Hirsch datalabel, customization, potw, cursors, ginput, marker 416 14
  • 5.0
5.0 | 10 ratings
12 Jun 2009 Screenshot xlswritefig Write a MATLAB figure to a Microsoft Excel spreadsheet. Author: Scott Hirsch data export, excel 190 2
  • 4.5
4.5 | 2 ratings
20 Feb 2009 Screenshot timetick Time formatted tick labels. Author: Scott Hirsch microseco, microseconds, second, seconds, strings, milisecond 189 8
  • 3.5
3.5 | 6 ratings
19 Dec 2008 Screenshot thermometer A graphical thermometer display, suitable for real-time applications. Author: Scott Hirsch real time, plotting, thermometer, temperature, data acquisition, specialized 240 1
  • 4.0
4.0 | 1 rating
12 Sep 2007 Published M-Files SHADOWPLOT Add a shadow to an existing surface plot. Author: Scott Hirsch 3d, plotting, surface, specialized, shadow 220 2
  • 4.0
4.0 | 2 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com