plotxx scattered plot with smooth line and marker

4 visualizzazioni (ultimi 30 giorni)
Kathy
Kathy il 26 Mag 2017
Modificato: dpb il 28 Mag 2017
I am using plotxx, i want to replicate the scattered chart with smooth lines and markers from excel in matlab. Any help?
  1 Commento
dpb
dpb il 26 Mag 2017
Since this is a Matlab forum, you'll forgive us if we have no idea what the subject Excel plot actually looks like.
  1. Attach a sample of the desired output (some sample data wouldn't hurt, either)
  2. What have you tried and where's the specific problem? plot has all sorts of marker/linestyle options, as does scatter

Accedi per commentare.

Risposte (1)

dpb
dpb il 27 Mag 2017
Modificato: dpb il 28 Mag 2017
plotxx is a File Exchange submittal -- and looks to be pretty limited in its implementation. If you start with it, you'll have to save the line handles it returns as optional output arguments and modify them directly.
ADDENDUM
It's really almost trivial to do this from scratch w/o the crutch of plotxx and you've got complete control (not that you don't otherwise by mucking with the handles, but it seems deep, dark and mysterious that way whereas it really isn't)--see
for how to go about it directly.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by