calcTextPosInScatte​rPlot

バージョン 1.0.2 (23.7 KB) 作成者: Eiji Konaka
This function calculates label positions in scatter plot. The position is calculated so as to avoid other data and labels.
ダウンロード: 36
更新 2020/11/5

ライセンスの表示

function [txPos]=calcTextPosInScatterPlot(dtPos)

Input: dtPos (n x 2 matrix with (double) value.)
This matrix shows the data plotted as a scatter plot.

Output: txPos (n x 2 matrix with (double) value.)
This matrix shows the label position associated with dtPos.

usage_calcTextPosInScatterPlot.m
This file is an example of usage of calcTextPosInScatterPlot.
1. Prepare dtPos.
2. Call [txPos]=calcTextPosInScatterPlot(dtPos)
3. Place texts on txPos and markers on dtPos. In this example, associated text and data point are connected with dashed lines.

引用

Eiji Konaka (2026). calcTextPosInScatterPlot (https://jp.mathworks.com/matlabcentral/fileexchange/82280-calctextposinscatterplot), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.2

Minor fix.

1.0.1

Fix file upload problem

1.0.0