Info
この質問は閉じられています。 編集または回答するには再度開いてください。
could anyone help me to solve the issue in the figure.
1 回表示 (過去 30 日間)
古いコメントを表示
I having the following code
h1 = figure('Name','Clusters');
hold on;
plot(xunit, yunit);
hold on
plot(ysd,xsd,'r^')
hold on
for k=1:clusterCount
plot(clustersA{k,1}(:,1),clustersA{k,1}(:,2),'o','Color',cc(k,:),'MarkerFaceColor',cc(k,:));
end
axis equal;
when i run the main code i am getting the attached figure with respect to the above code.
But in the figure I need to have the circle that should intersect in the middle of y axis (both left and right)
Could anyone please help me on this.
0 件のコメント
回答 (1 件)
Walter Roberson
2019 年 11 月 1 日
You can set the axes XAxisLocation and YAxisLocation to 'origin';
Note: hold on stays in effect for the axes until you turn it off or clear the axes, so you do not need multiple hold on in your code.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!