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.
3D 散布図を表示していますが、z 軸のラベルがカラー バーと重なっています。カラーバーを希望のピクセル数だけ右または左に移動するにはどうすればよいですか?
を使用findobjしてカラーバーへのハンドルを取得し、現在の位置を照会してgetから、必要に応じて変更し、次を使用して変更できますset。
findobj
get
set
h = findobj('tag', 'Colorbar'); pos = get(h, 'position') % modify pos according to your needs set(h, 'position', pos)