In 2013, there is a way to change the alpha and beta by changing the file refresh.m located in folder \toolbox\matlab\specgraph\@specgraph\@quivergroup\@quivergroup. I'm looking for a way to achieve the same in 2014. Thanks.
Change quiver arrow size and width in 2014
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
In quiver.m in 2014, there are parameters for controlling the quiver arrow size and width as:
alpha = 0.33; % Size of arrow head relative to the length of the vector
beta = 0.3; % Width of the base of the arrow head relative to the length
however changing them does not make a difference. How to change quiver arrow size and width in 2014? Thanks.
0 commentaires
Réponses (3)
Sean de Wolski
le 3 Déc 2014
I don't know exactly what you want, but perhaps try changing the AutoScaleFactor or the MaxHeadSize LineWidth etc. properties of the quiver object.
q = quiver(rand(10,1),rand(10,1),rand(10,1),rand(10,1))
q =
Quiver with properties:
Color: [0 0.4470 0.7410]
LineStyle: '-'
LineWidth: 0.5000
XData: [10x1 double]
YData: [10x1 double]
ZData: []
UData: [10x1 double]
VData: [10x1 double]
WData: []
Show all properties
AlignVertexCenters: 'off'
Annotation: [1x1 matlab.graphics.eventdata.Annotation]
AutoScale: 'on'
AutoScaleFactor: 0.9000
BeingDeleted: 'off'
BusyAction: 'queue'
ButtonDownFcn: ''
Children: []
Clipping: 'on'
Color: [0 0.4470 0.7410]
CreateFcn: ''
DeleteFcn: ''
DisplayName: ''
HandleVisibility: 'on'
HitTest: 'on'
Interruptible: 'on'
LineStyle: '-'
LineWidth: 0.5000
Marker: 'none'
MarkerEdgeColor: 'auto'
MarkerFaceColor: 'none'
MarkerSize: 6
MaxHeadSize: 0.2000
Parent: [1x1 Axes]
PickableParts: 'visible'
Selected: 'off'
SelectionHighlight: 'on'
ShowArrowHead: 'on'
Tag: ''
Type: 'quiver'
UData: [10x1 double]
UDataSource: ''
UIContextMenu: []
UserData: []
VData: [10x1 double]
VDataSource: ''
Visible: 'on'
WData: []
WDataSource: ''
XData: [10x1 double]
XDataMode: 'manual'
XDataSource: ''
YData: [10x1 double]
YDataMode: 'manual'
YDataSource: ''
ZData: []
ZDataSource: ''
>>
0 commentaires
Voir également
Catégories
En savoir plus sur Vector Fields dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!