Parameters_ID =['RPM', 'Torque', 'RPMReq', 'PenRate', 'Pulldown', 'PulldownReq', 'VerticalVib', 'HorizontalVib'];
labelstr = strcat(num2str(Drillbitnum),': ',num2str(Selected_Depth));
h = glyphplot((Select_Parameters), 'glyph', 'star','varLabels',Parameters_ID,'obslabels',labelstr);
Thank you for any help,
Regards,
Riccardo
Riccardo, you're on the right track, you just have to use the handles in
that output from GLYPHPLOT. I ran something like the help example:
>> load carsmall
>> X = [Acceleration Displacement Horsepower MPG Weight];
>> h = glyphplot(X, 'Glyph','face', 'ObsLabels',Model);
h is a matrix, whose third column contains graphics handles for each of
the labels. If you look at all the properties for one of them, ...
>> get(h(1,3))
Annotation = [ (1 by 1) hg.Annotation array]
BackgroundColor = none
Color = [0 0 0]
DisplayName =
EdgeColor = none
Editing = off
Extent = [0.265868 8.43883 1.45309 0.178641]
FontAngle = normal
FontName = Helvetica
FontSize = [10]
FontUnits = points
[snip]
Type = text
UIContextMenu = []
UserData = []
Visible = on
... you can see what you need to set, and you can do it for all the
handles at once.
>> set(h(:,3),'fontsize',4)
As far as the number of significant figures in your labels, tjhat's up
to you, presumably you want to use one of the optional inputs to NUM2STR
to control that.
Hope this helps.
Thanks for your help Peter, I am going to try it out!