Rank: 153 based on 548 downloads (last 30 days) and 6 files submitted
photo

Brian Katz

E-mail
Company/University
LIMSI-CNRS

Personal Profile:

 

Watch this Author's files

 

Files Posted by Brian Katz View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Dec 2014 Screenshot applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz plot, patch, hatch, fill, graphics, style 87 8
  • 5.0
5.0 | 4 ratings
23 Sep 2014 Screenshot XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz annotation, customization, xtick, xticklabel, rotate, text 399 69
  • 4.7193
4.7 | 63 ratings
02 Sep 2014 Screenshot boxplotCsub (boxplotC) Revised version of boxplotC to allow coloring and subgroup plotting of boxplots. Author: Brian Katz specialized, plotting, boxplot, subplot, colorboxplotc, graphics 19 10
  • 3.71429
3.7 | 7 ratings
31 Aug 2012 Screenshot boxplotC Extend the functionality of boxplot to allow for color, filled, and overlay options. Author: Brian Katz specialized, plotting, boxplot color, boxutil color, overlay 7 0
26 Jul 2004 Screenshot Hatched Fill Patterns Plus Modified APPLYHATCH to allow for variable resolution output for printing. Author: Brian Katz specialized, plotting, hatch pattern highres... 18 6
  • 3.6
3.6 | 5 ratings
Comments and Ratings by Brian Katz View all
Updated File Comments Rating
10 Dec 2014 applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz

This correction has now been included in the recent update.

12 Oct 2014 pa-wavplay for 32-bit and 64-bit Play and record multi-channel audio using ASIO, WASPI, DirectSound, or Windows Audio. Author: Joseph Desloge

23 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz

@Moroni : Please look at the help for the correct usage, as you are not using the function correctly.

For your example, simply use:
bar(1:5,1);
xticklabel_rotate([],45,stock_labels)

04 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz

Experience has shown that this function doesn't handle a lot of resizing, which in Matlab can often change axis limits and ticks.
It is best to run it just before exporting, and it is highly recommend to export/print without resizing.

03 Sep 2014 applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz

I am sorry but I don't understand the proposed modification. It is necessary to have an equal number of entries in PATTERNS and PATTERNCOLORS, otherwise there would be too few/many combinations. The PATTERNCOLORS can be either a string array of color chars, or a 3 column RGB value. This cannot be more or less than 3 to be RGB.
If you have a specific example where there is a problem, please send it to me.

Comments and Ratings on Brian Katz's Files View all
Updated File Comment by Comments Rating
10 Dec 2014 applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz Brian Katz

This correction has now been included in the recent update.

10 Dec 2014 applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz Brett Walker

When you test the length, now on line 95, you use the length function which returns the number of elements in the longest dimension (eg. A = [2x3] then length(A) = 3) This will cause a patterncolor matrix with <3 colors (rows) to fail because length(patterns) <3 and length(patterncolor) = 3.

If you use size(patterncolors,1) instead of length(patterncolors) (in the condition on line 95) this problem will be removed as it only returns the number of elements in the first dimension.

23 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz Brian Katz

@Moroni : Please look at the help for the correct usage, as you are not using the function correctly.

For your example, simply use:
bar(1:5,1);
xticklabel_rotate([],45,stock_labels)

17 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz Moroni

I am getting this error everytime
Undefined function 'xticklabel_rotate' for input arguments of type 'double'.

stock_labels = {'Market','3M','ALCOA','ALTRIA','Amex'};
bar(1:5,1);
set(gca(),'XTick',1:31)
set(gca(),'XTickLabel',stock_labels,'XGrid','on');
xticklabel_rotate(gca,45);

help please!

04 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz Brian Katz

Experience has shown that this function doesn't handle a lot of resizing, which in Matlab can often change axis limits and ticks.
It is best to run it just before exporting, and it is highly recommend to export/print without resizing.

Contact us