Software Listing of Author : "Andew Diamond"
- brlinexya
- License: Shareware
- Price:


Given starting and ending points returns list of coordinates as per Bresenham's line algorithm. I wrote this a long time ago under Matlab 4.x I think. It works under Matlab 5.3 and 6.1. I have not reviewed the code since I wrote it.
- Publisher: Andew Diamond
- Date Released: 21-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- magnifyrecttofig
- License: Shareware
- Price:


Displays the contents of a displayed draggable rectangle on one axis of a source figure into an axis in a target figure. The difference in the screen size of the target axis and the size of the rectangle represents the magnification factor that the contents of the source rectangle will appear in the target figure. Backwards compatible to R12.1 at least. Much smoother under R14x though. Update of 3/29: 1) Put in arrow keys to have individual control over rectangle width and height 2) Saved size state of rectanglebetween drags and added 'r' key to restore default rectangle proportion (20% of axes) 3) Added 'm' key to toggle between maximizing target axis and having it be the original. Also, 'm' as argument to default to maximized vs orignal size. 4) Tried to fix wierd event timing bugs that would result in residual rectangles. The...
- Publisher: Andew Diamond
- Date Released: 01-03-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- quiverc2wcmap
- License: Shareware
- Price:


Draws a quiver plot with arrows whose colors are w/r to the default color map and the magnitude of the data. It displays a colormap whose limits accurately reflect the data. Works with NaNs. Created under 6.5.1 but has run under 6.1
- Publisher: Andew Diamond
- Date Released: 21-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- subplotrc
- License: Shareware
- Price:


A totally trivial function that I keep on rewriting in line over and over again. Must be somewhere I'm missing or I'm missing something. Here it is in it's "glorious" entirety (-; --------- function h=subplotrc(varargin) % function h=subplotrc(varargin) - extension of subplot % subplotrc(m,n,r,c) put suplot in row r, column c of figure; % all other forms passed through to subplot without alteration if(length(varargin)==4 && all(cellfun(@isnumeric,varargin))) p=sub2ind([varargin{2},varargin{1}],varargin{4},varargin{3}); h=subplot(varargin{1},varargin{2},p); else h=subplot(varargin{:}) end if(nargout == 0) clear h; end
- Publisher: Andew Diamond
- Date Released: 09-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts