Rank: 67619 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Kuo-Hsien View all
Updated File Comments Rating
22 Jul 2012 Panel Like subplot, but easier, and WYSIWYG export to file. Also fixes dashed/dotted lines in export. Author: Ben Mitch

How to let p(2,1,1) occupy 2/3 of the area of p(2, 1).pack(1, 2) ??

Here is my code:
p = panel();
p.pack(2, 1);
p(2, 1).pack(1, 2);

21 Jun 2010 ShadePlotForEmphasis Plots a shaded bar for emphasis as commonly seen on economic charts. Author: Michael Robbins

Hey Michael, How to show the box in the subplots? it doesn't work in my subplots.

21 Jun 2010 Shaded time series Plot time series one above the other with coloured strips highlighting interesting features. Author: Carl Fischer

Hi Carl, this is a useful function. How to show the box for subplots and legend? thx.

18 Jan 2010 samexaxis (nice subplots with same x axis) Makes it alot easier to make nice figures with the same x axis. Author: Aslak Grinsted

Hi Aslak, can you let me know how to how "abc" result as (a)-->(b)-->(c)-->(d)-->(e)-->(f) not (b)-->(a)-->(d)-->(c)-->(f)-->(e)

Please see this code:

for ii=2:6


27 Feb 2009 moving_average v3.1 (Mar 2008) Smooths a matrix (with/without NaN's) via recursive moving average method and eliminates data gaps. Author: Carlos Adrian Vargas Aguilera

Dear all, I'm dealing with gap filling on weather measurements which the NaN should be filled based on the time window of several days.(i.e., neighborhood hour of several days).

For example, one NaN at 5pm will be replaced by the mean value in the neighborhood hour of neighborhood several days. (let's say 4, 5 and 6pm of neighborhood 5 days)

Here is the bone of question I like to deal with:

values = rand(1,1000)';
fake_NaN = floor(rand(1,300)'*1000);
values(fake_NaN) = NaN;
for i = 1:length(values)
n = 24 * i * (1:5)
having_nan_index = find(isnan(values))
new_values = nanmean(values(having_nan_index * n-1:having_nan_index*n+1))
Something like that

If you have any solutions or advices, please feel free to let me know. Thanks, Michael

Contact us