Re: plotmatrix formating



On May 4, 1:15 am, "matt dash" <n...@xxxxxxxx> wrote:
It's tricky because the position of each ylabel is defined
in the scale of its respective axes, so you'd have to check
all their positions, normalize them, find the on that's
furthest left, convert that value to the scale of each
axis, and set the position of each label to those values.

It's probably a lot easier to just use the ylabel of the
big axis, and pad it with spaces until they line up where
you want them:

[H,AX,BigAx,P]=plotmatrix(bsxfun(@times,rand(100,5),[10 5 1
1 20]))

set(get(BigAx,'ylabel'),'string','Experiment 1
Experiment 2 Experiment 3 Experiment 4 Experiment
5')

Personally I turn off the histograms and put the labels in
the horizontal boxes... but obviously if you want
histograms that won't cut it.

Thank you for your reply, Matt.

Setting ylabel does work, especially if I set the figure size in the
code so that the alignment is not changed.

In this case I really need the histograms, but in the future I will
use your idea of placing the labels in those boxes.

Thanks for the suggestion.

Regards,

Joao
.



Relevant Pages

  • Problems with "hyster-grams" :-)
    ... I some problems using histograms in Office Excel 2003 ... X-axis data "labels" are centered under the bar. ...
    (microsoft.public.excel.misc)
  • Re: New food pyramid coming
    ... of course is nonsense as any recipe will attest. ... Nothing wrong with using a scale. ... > nutritional information labels. ... > Jim Chinnis Warrenton, Virginia, USA ...
    (sci.med.cardiology)
  • Re: Formatting X Axis
    ... The scale is being plotted as a date scale, due to the labels being dates, instead of Categories which is what you want. ... Right click chart and pick Chart Options. ... 09/25/07, 09/27/07 are the true x-axis labels that should correspond to my data series, BUT, dates such as 09/20/07, 09/22/07, etc. are displayed as ...
    (microsoft.public.excel.charting)
  • Re: Printing issue
    ... a couple of clients computers. ... However a couple of clients the actual labels that are printed are larger than the labels themselves and as each label prints down the page the problem of course get worst. ... The orginal developer wrote into the program to adjust the left and top margin which works fine but it moves the whole image - doesnt scale it. ... My idea at the moment is to include a right and bottom margin setting and from this calculate a scale then multiply all printing positions by this amount - this would be quite a huge undertaking. ...
    (microsoft.public.vb.general.discussion)
  • Re: Newbie question/thanks
    ... i think they should rename it a ''chart' EDSC cause it aint no scale ... its a chart,,,its not a graph,, its a chart,,, maybe even not that high on ... whatever one you go by,, they are just labels,,, and i dont label,,, ... FYI folks if they dont consider MS a fatal disease why the number 10??? ...
    (alt.support.mult-sclerosis)