Rank: 179 based on 559 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
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 388 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 33 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 18 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 85 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... 14 6
  • 3.6
3.6 | 5 ratings
Comments and Ratings by Brian Katz View all
Updated File Comments Rating
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.

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.

Comments and Ratings on Brian Katz'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 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.

03 Sep 2014 applyhatch_plusC Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. Author: Brian Katz 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 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.

Contact us