Rank: 3097 based on 12 downloads (last 30 days) and 2 files submitted
photo

Roger Parkyn

E-mail
Company/University
Hydro Tasmania

Personal Profile:
Professional Interests:
Hydrological and energy modelling

 

Watch this Author's files

 

Files Posted by Roger View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Jun 2010 Screenshot Duration (CDF) Plot A simple plotter for ranked data against empirical probability. Author: Roger Parkyn hydrology, probability, duration plot, cdf, cumulative density fu..., price duration curve 3 0
19 Aug 2009 Screenshot Html Table Writer Writes a cell-array to an html file. Numerous formatting options are available. Author: Roger Parkyn data export, table, html, html table 9 0
Comments and Ratings by Roger View all
Updated File Comments Rating
16 Jun 2011 Arrow plotter very simple customizable inline function to draw arrows. Author: Ryan Molecke

Nice and simple. Works OK if the xlimits and ylimits are across similar ranges. In such cases, or where plotting will be similar each call, this should be great. Otherwise the arrowhead shape is a bit unpredictable due to distortion.

I ended up going back to arrow.m (by Erik A. Johnson, it is on the file exchange. Yes that does look like a monster, at nearly 1400 lines!).

31 May 2011 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B.

Worked for me.

16 Nov 2010 readtext Any text (file) you give it, readtext returns an array of the contents. You can chose delimiter etc. Author: Peder Axensten

This is really useful to me and I have used it quite a bit.

I noticed however that comment lines are not fully removed but instead leave a blank line (apart from the very first line which will be fully removed if it is a comment). My work-around is shown below (although it has the downside of removing ALL blank lines - whether commented or not).

Replace the following lines:
if(~isempty(opts.comment)) % Remove comments.
  text= regexprep(text, ['^\' opts.comment '[^' eol ']*' eol], '');
  text= regexprep(text, [ '\' opts.comment '[^' eol ']*'], '');
end

with these lines:
if(~isempty(opts.comment)) % Remove comments.
  text= regexprep(text, ['\' opts.comment '[^' eol ']*'], ''); % Remove commented line endings (but in the case of whole-lines this leaves a blank line!).
  text= regexprep(text, [eol '+'], eol); % Remove blank lines, part 1: remove multiple eol instances (2 in a row = a blank line)
  text= regexprep(text, ['^' eol '+'], ''); % Remove blank lines, part 2: if there is an eol at the beginning then remove it.
end

27 Jul 2010 GRIDXY (v2.2 feb 2008) plot horizontal and vertical grid Author: Jos (10584)

Worked for me thanks.

14 Apr 2010 Intelligent Dynamic Date Ticks Create plots with date-friendly data cursors and smart date ticks that scale with zooming & panning. Author: Ameya Deoras

It works faster than tlabel.m (also on the file exchange, by Carlos Adrian Vargas Aguilera). However the date formats that is uses are annoying for me as an australian: we use day then month then year, or the reverse, but NEVER month/day/year.

Hence I will be sticking with tlabel until a australian option is available.

I can't fairly give it a rating as it is probably great for americans.

Top Tags Applied by Roger
hydrology, cdf, cumulative density function, data export, duration plot
Files Tagged by Roger View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Jun 2010 Screenshot Duration (CDF) Plot A simple plotter for ranked data against empirical probability. Author: Roger Parkyn hydrology, probability, duration plot, cdf, cumulative density fu..., price duration curve 3 0
19 Aug 2009 Screenshot Html Table Writer Writes a cell-array to an html file. Numerous formatting options are available. Author: Roger Parkyn data export, table, html, html table 9 0
18 Feb 2008 Screenshot GRIDXY (v2.2 feb 2008) plot horizontal and vertical grid Author: Jos (10584) annotation, customization, reference, line, grid, horizontal 43 20
  • 4.6875
4.7 | 16 ratings
25 Jan 2006 Screenshot Intensity Duration Frequency Curves A plot which shows the different curves of Intensity - Duration - Frequency of rain events. Author: Gabriel Ruiz rain, intensity, duration, frequency, gumbel distribution, hydrology 17 4

Contact us at files@mathworks.com