scatterDiagHist(x,y​,dedge,varargin)

Version 1.1.0.0 (1.79 KB) by kefei
scatter plot with histogram of xy difference on diagonal
181 Downloads
Updated 19 May 2017

View License

% function [hscatter,hbar]=scatterDiagHist(x,y,dedge,scattervarargin)
% scatterDiagHist(x,y)
% scatterDiagHist(x,y,dedge)
% scatterDiagHist(x,y,dedge,scattervarargin)
% [hscatter,hbar]=scatterDiagHist(...)
% INPUT
% x,y: vectors of x and y data. same size
% dedge: edge for x,y difference histogram
% scattervargin: input variables same as 'scatter' function
% OUTPUT
% hscatter: handle for scatter points
% hbar: handle for histogram bar
% Kefei Liu. 2017.5.5

Cite As

kefei (2024). scatterDiagHist(x,y,dedge,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/62812-scatterdiaghist-x-y-dedge-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Scatter Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

.....
fix the bug that the relative position shift when figure size is transformed.

1.0.0.0