Consider the statement and give the output of the code.

1 vue (au cours des 30 derniers jours)
Nidhi Nagar
Nidhi Nagar le 27 Jan 2022
Modifié(e) : Ankit le 27 Jan 2022
Consider the statements given below: x=-1:.1:1; y= x. ^2; plot (x,y,'g.') Give the output of above code. What is the significance of ‘g’ used?
  1 commentaire
Ankit
Ankit le 27 Jan 2022
Modifié(e) : Ankit le 27 Jan 2022
g: green color and . - Marker .this plot with green dots
Please refer to this page to know more about Line and Markers: Specify Line and Marker Appearance in Plots - MATLAB & Simulink - MathWorks Deutschland
x=-1:.1:1; y= x.^2; plot (x,y,'g.')

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by