How to generate polat plot for 4 variables
2 次查看(过去 30 天)
显示 更早的评论
I would like to generate polar scatter plot for 4 variables (aspect, elevation, slope, area), where:
aspect - represent angular axis
elevation - represent radial axis (the distance from the center)
slope - represent the color of plot (grading color)
area - represent the size of dots
After typing the code (attached below) in Matlab R2014b I have the following error: Undefined function 'polarscatter' for input arguments of type 'double'. Does anybody know what can be wrong?
clear; clc; close;
D = [500.0 450.0 600.0 350.0]; % Elevation
S = [5.0 40.0 25.0 15.0]; % Slope
AS = [25.0 225.0 15.0 60.0]; % Aspect
A = [100.0 55.0 70.0 20.0]; % Area
polarscatter(AS,D,A,S,'filled');
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!