Filter löschen
Filter löschen

Consider the statement and give the output of the code.

1 Ansicht (letzte 30 Tage)
Nidhi Nagar
Nidhi Nagar am 27 Jan. 2022
Bearbeitet: Ankit am 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 Kommentar
Ankit
Ankit am 27 Jan. 2022
Bearbeitet: Ankit am 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.')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by