Matlab - plot subplot

Поділитися
Вставка
  • Опубліковано 19 бер 2020
  • Graphiques sur Matlab avec les commandes plot - subplot - figure()

КОМЕНТАРІ • 6

  • @aimaneamoussa6777
    @aimaneamoussa6777 Рік тому

    Super explication 😮

  • @barrybarry4321
    @barrybarry4321 Рік тому

    Merci

  • @archangemichaelpea2261
    @archangemichaelpea2261 Рік тому

    Vecteur
    x=0:0.01:10
    Figure (1)
    y=x
    plot(x,y)

    Figure (2)
    y=-x
    plot(x,y)

    Figure (3)
    y=x.^2
    plot(x,y)
    Figure (4)
    y=3*x
    plot(x,y)
    Malheureusement ca ne sors pas les 4 figures, juste la première figure (figure 1) qui s'affiche. Etant donne' que votre image n'est si lisible que ca, je ne sais pas si j'ai mal vu ou bien?

    • @engineering_life9550
      @engineering_life9550  Рік тому

      Mets le F de "Figure" en minuscule.

    • @archangemichaelpea2261
      @archangemichaelpea2261 Рік тому

      @@engineering_life9550 c'est fait merci

    • @archangemichaelpea2261
      @archangemichaelpea2261 Рік тому

      @@engineering_life9550 vecteur
      x=0:1:20
      fonction
      y=x.^2
      graphique
      plot(x,y)
      title('y=x^2')
      xlabel('x')
      ylabel('y')
      Marker
      Marker= [2,4,8]
      hold on %rester sur le meme graphique
      plot(x(marker),y(marker),'r')
      axic([0 20 0 400]
      Ca egalement ne marche pas