Rank: 379 based on 304 downloads (last 30 days) and 7 files submitted
photo

Gus Brown

E-mail
Lat/Long
-25.74596, 28.27933

Personal Profile:

Professional Interests:
Modelling and simulation

 

Watch this Author's files

 

Files Posted by Gus View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 May 2008 Screenshot Google Earth COM API (Example) Connect to the Google Earth COM API Author: Gus Brown api, com, external interface, external code interfa..., application interface, google earth 59 5
  • 5.0
5.0 | 5 ratings
16 Apr 2008 Screenshot Geometrically spaced vector Create a geometrically spaced vector where each subsequent step is G times bigger than the previous Author: Gus Brown spacing vector geomet... 9 2
  • 2.0
2.0 | 1 rating
14 Apr 2008 Recursive directory listing Directory listing with a difference, supports directory wildcards. Author: Gus Brown directories, recursion, difference, directory, path, utilities 75 4
  • 5.0
5.0 | 7 ratings
17 Mar 2008 Screenshot Flight Visualization Creates an up-dateable display of an F4 Phantom jet with flight data. Author: Gus Brown aeronautics, aerodef, phantom euler angles ..., flight visualization, flight data, aerospace 40 12
  • 4.28571
4.3 | 7 ratings
03 Mar 2008 Screenshot Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown mouse scroll wheel, example, gui tools 52 8
  • 4.75
4.8 | 4 ratings
Comments and Ratings on Gus' Files View all
Updated File Comment by Comments Rating
28 Oct 2009 Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown Diaz, Eric

Below is my workaround for similar functionality, however, not with the mouse wheel but rather the keyboard arrows.

function [TF] = GTscroll2006b(event,fig)
% GTscroll2006b Use the scroll wheel to navigate figure windows
%
% function GTscroll2006b(event,fig)
%
% Example:
%
% for n=1:length(imgfiles);
% figure(100+n);
% set(gcf,'position',pos1,'windowStyle','docked')
% imagesc(im1(:,:,n),[0 max(max(im1(:,:,workingImage)))]);hold on;
% end
%
% TF=1
%
% while TF == 1
% event = getkey
% TF = GTscroll2006b(event,gcf)
% end
%
% ************** Requires getkey from FileExchange***********************
% http://www.mathworks.com/matlabcentral/fileexchange/7465-getkey
% ***********************************************************************
%
% Esdiaz - Oct 2009

%% Cycle through figures
CH = get(0,'children');

    H = sort(get(0,'children'));
    if event == 28 || event == 31 % left or down arrow = scroll down
        F = find(H<fig,1,'last');
    elseif event == 29 || event == 30 % up or right arrow = scroll up
        F = find(H>fig,1);
    elseif event == 13
        F=[];
    end
    
    if isempty(F),
        % jump to first or last figure
        if event == 28 || event == 31,
            figure(H(1));
            TF=1;
        elseif event == 29 || event == 30
            figure(H(end));
            TF=1;
        elseif event == 13
            TF=0;
        end;
    else
        % goto next figure
        figure(H(mod(F-1,length(H))+1));
        zoom;pause;
        TF=1;
    end;
%%
end

27 Oct 2009 Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown Diaz, Eric

It would be nice if this worked with version 7.3.0 2006b, but, alas, it does not because as Matlab states..."There is no 'WindowScrollWheelFcn' property in the 'figure' class."

Is there any other solution?

07 Sep 2009 Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown Lund, Torben Ellegaard

Very nice idea Gus

I am struggling to find a way to make a scroll wheel modulate the frequency of a sound played by matlab. Would you happen to have an idea on how to proceed.

Best
Torben

06 Aug 2009 Recursive directory listing Directory listing with a difference, supports directory wildcards. Author: Gus Brown Geurten, Bart

04 Aug 2009 Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown Granzyme

Amazing function.
I had couple of questions Gus if you don't mind.
I am new to MATLAB (i'm a physician) and this is EXACTLY what I want - almost. I am trying to scroll through a whole stack of MRI images. So in order for this to work, I have to open lets say 25 seperate figure windows and then smoothly scroll through them. However - how can I just open ONE figure window and have ALL my images be scrolling through in it?

I am not much of a code write, but a nudge in the right direction will go a long way (meaning, i can use help function on MATLAB and attempt to write small code under your direction). Thanks!

Top Tags Applied by Gus
3dconnexion, aerodef, aeronautics, aerospace, api
Files Tagged by Gus View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 May 2008 Screenshot Google Earth COM API (Example) Connect to the Google Earth COM API Author: Gus Brown api, com, external interface, external code interfa..., application interface, google earth 59 5
  • 5.0
5.0 | 5 ratings
16 Apr 2008 Screenshot Geometrically spaced vector Create a geometrically spaced vector where each subsequent step is G times bigger than the previous Author: Gus Brown spacing vector geomet... 9 2
  • 2.0
2.0 | 1 rating
14 Apr 2008 Recursive directory listing Directory listing with a difference, supports directory wildcards. Author: Gus Brown directories, recursion, difference, directory, path, utilities 75 4
  • 5.0
5.0 | 7 ratings
17 Mar 2008 Screenshot Flight Visualization Creates an up-dateable display of an F4 Phantom jet with flight data. Author: Gus Brown aeronautics, aerodef, phantom euler angles ..., flight visualization, flight data, aerospace 40 12
  • 4.28571
4.3 | 7 ratings
03 Mar 2008 Screenshot Mouse scroll wheel navigation Navigate figures with the mouse scroll wheel. Author: Gus Brown mouse scroll wheel, example, gui tools 52 8
  • 4.75
4.8 | 4 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