How to get a hist graph with normalized data on both axis

2 views (last 30 days)
Using following code but also want to have normalized y axis to see how much % data points have which value. Pls suggest.
clear, clc
v1=xlsread('T_g13_3.xlsx');
[normData_v1,maxD,minD]=normalize(v1);
x=[min(normData_v1):0.1:max(normData_v1)];
v1_hist(x,y)=hist(v1,x);
plot(x,v1_hist,'g*')

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!