Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
add horizontal jitter to scatter

Subject: add horizontal jitter to scatter

From: J G

Date: 29 May, 2012 03:28:05

Message: 1 of 1

I have 1d scatter data and I want to add some jitter so the points don't lie on top of each other. For example,

I realize I can do this with the notBoxPlot function but is there a way to do this with scatter?

my code:

x = repmat(0.1),1000,1);
y = data(:,1); %my data of 1000 points

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us