Лекция 1

Графика на функция

Построяваме графика на една функция на една променлива

Plot[Sin[x]+Cos[4x],{x,-5,5}]

Plot[Sin[x]+Cos[10x],{x,-5,5}]

Опции, използвани от вградените бутони

Plot[Sin[x]+Cos[10 x],{x,-5,5},PlotTheme->"Scientific"]

Show[%5,Background->Directive[RGBColor[0.5`,0.97`,1.`],Opacity[0.65`]]]

Експортиране на графики

Export["C:\\Users\\fmi\\Desktop\\Atanasova\\first_graphic.jpg",%6,"JPEG"]

Plot[f,{x,(Subscript[x, min]),(Subscript[x, max])}]

Всички опции на Plot

Options[Plot]

TableForm[Options[Plot]]

Length[Options[Plot]]

Plot[Sin[x]+Cos[4x],{x,-5,5},Axes-> True]

Plot[Sin[x]+Cos[4x],{x,-5,5},Axes-> False]

Plot[Sin[x]+Cos[4x],{x,-5,5},Axes-> {False,True}]

Plot[Sin[x]+Cos[4x],{x,-5,5},Frame->True]

Plot[Sin[x]+Cos[4x],{x,-5,5},Frame->{True,False}]

Plot[Sin[x]+Cos[4x],{x,-5,5},Frame->{True,False},
 Axes->False]

Plot[Sin[x]+Cos[4x],{x,-5,5},Frame->{True,False,True,False},
Axes->False]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->Red]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{Red,Thick}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{Red,Thickness[0.03]}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{RGBColor[1,0,0],Thickness[0.03]}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{RGBColor[0,1,0],Thickness[0.03]}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{RGBColor[0,0,0],Thickness[0.03]}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{RGBColor[0,0.5,0.5],Thickness[0.03]}]

Plot[Sin[x]+Cos[4x],{x,-5,5},PlotStyle->{RGBColor[0,1,1],Thickness[0.03]}]