Change quiver arrow size and width in 2014
Show older comments
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.
Answers (3)
Peng
on 28 Nov 2014
0 votes
Peng
on 3 Dec 2014
0 votes
Sean de Wolski
on 3 Dec 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: ''
>>
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!