Consider the statement and give the output of the code.

1 visualización (últimos 30 días)
Nidhi Nagar
Nidhi Nagar el 27 de En. de 2022
Editada: Ankit el 27 de En. de 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 comentario
Ankit
Ankit el 27 de En. de 2022
Editada: Ankit el 27 de En. de 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.')

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by