Rank: 125 based on 525 downloads (last 30 days) and 6 files submitted
photo

Brian Katz

E-mail
Company/University
LIMSI-CNRS

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Brian View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
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 358 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 54 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 13 0
21 Sep 2011 Screenshot applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz hatch, plotting, color, hatching, plot, patch 68 6
  • 5.0
5.0 | 4 ratings
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... 16 6
  • 3.6
3.6 | 5 ratings
Comments and Ratings by Brian View all
Updated File Comments Rating
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.

01 Sep 2014 boxplotCsub (boxplotC) Revised version of boxplotC to allow coloring and subgroup plotting of boxplots. Author: Brian Katz

To use the default values, you can simply use an empty matrix like so:
boxplotCsub(t1,1,[],[],[],[],[],[],[],[1 2]);
The reason for this design was that I chose to use the same syntax as boxplot (v.2002) with additional parameters *afterwards* in the input list. I do not think however that this is a big hindrance to its use once the syntax is understood.

30 Apr 2014 Hatch fill patterns plus Color & Invert Updated code hatch with color and inverted hatches Author: Brandon Levey

I would like to acknowledge this work by Brendon. I would like however like to note that the development of "applyhatch_plusC" and this routine have diverged somewhat, with different approaches for creating custom hatch patterns and resolving image resolution questions. As such, cross-compatibility can no longer be assured.

Comments and Ratings on Brian's Files View all
Updated File Comment by Comments Rating
23 Sep 2014 XTICKLABEL_ROTATE Rotate XTickLabel to better accommodate long labels and text labels. Author: Brian Katz Katz, Brian

@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 Katz, Brian

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 Katz, Brian

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.

01 Sep 2014 boxplotCsub (boxplotC) Revised version of boxplotC to allow coloring and subgroup plotting of boxplots. Author: Brian Katz Katz, Brian

To use the default values, you can simply use an empty matrix like so:
boxplotCsub(t1,1,[],[],[],[],[],[],[],[1 2]);
The reason for this design was that I chose to use the same syntax as boxplot (v.2002) with additional parameters *afterwards* in the input list. I do not think however that this is a big hindrance to its use once the syntax is understood.

Contact us