Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
軸スケールが異なる図をプロットする方法について質問があります。擬似コードは次のようになります。
plot(data1,data2,xlim=c(0,10,100,1000),ylim=c(0,1000))
つまり、x 軸の間隔は均等ではなく、スケールが異なります。
ありがとうドウィン!あなたは私にプロットする別の方法を教えてくれました。私がプロットしたいのはこの図のようなものですが、プロットする方法を知っていますか?
options(scipen=8); plot(10^(1:5),1:5, log="x")
対数目盛の0の位置をどうするかはよくある質問ですがlog(0)、コンソールで入力して、表示されない理由を確認してください。
log(0)