Skip to content

Commit 0f14477

Browse files
committed
For book compatibility plot_scale uses the circle option.
Update doco on plot options
1 parent c84c12f commit 0f14477

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ScalePointFeature.m

+5-4
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,22 @@
7676
% for book compatibility
7777

7878
function plot_scale(features, varargin)
79-
feature.plot(varargin{:});
79+
features.plot('circle', varargin{:});
8080
end
8181

8282
function plot(features, varargin)
8383
%ScalePointFeature.plot Plot feature
8484
%
85-
% F.plot(OPTIONS) overlay a marker at the feature position.
85+
% F.plot(OPTIONS) overlay a marker at the feature position. The default
86+
% is a point marker.
8687
%
87-
% F.plot_scale(OPTIONS, LS) as above but the optional line style arguments LS are
88+
% F.plot(OPTIONS, LS) as above but the optional line style arguments LS are
8889
% passed to plot.
8990
%
9091
% If F is a vector then each element is plotted.
9192
%
9293
% Options::
93-
% 'circle' Indicate scale by a circle (default)
94+
% 'circle' Indicate scale by a circle
9495
% 'disk' Indicate scale by a translucent disk
9596
% 'color',C Color of circle or disk (default green)
9697
% 'alpha',A Transparency of disk, 1=opaque, 0=transparent (default 0.2)

0 commit comments

Comments
 (0)