필터 지우기
필터 지우기

Scatterhist + hold on + scatterhist

조회 수: 7 (최근 30일)
Luigi Lombardo
Luigi Lombardo 2013년 5월 22일
Hello to everyone, I'm trying to use the scatterhist function twice on the same plot. Is it possible to use the "hold on" to lock the first figure and then use the scatterhist again to plot another set of variables on the very same graph? Thanks in advance.

답변 (1개)

Tom Lane
Tom Lane 2013년 5월 22일
This is not possible.
What is possible is to use a function that plots into one set of axes, and have it add to the scatterplot axes. For example, you can use "hold on" followed by "plot" to add more points. You may have to adjust the axis limits after you do that. But the new points will not be added to the two histograms.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by