Effacer les filtres
Effacer les filtres

how to scatter datapoint into an existing semilogplot?

5 vues (au cours des 30 derniers jours)
Johannes
Johannes le 19 Déc 2018
Hey,
I have got an existing semilogx plot with data from literature. Now i would like to scatter my own measurements into that existing figure. The problem is, that even two semilogx with hold on aren't possible without getting back to normal scaled axes. I need the scatter function to color my datapoints by a third variable. Is there a way to get this two plots in one figure?
Thanks!

Réponse acceptée

Johannes
Johannes le 19 Déc 2018
Ok, I found the answer by myself
hold on
plot(x1,y1,x2,y2);
scatter(x3,y3,[],z3);
set(gca,'xscale','log')
grid on

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by