Write a script to create a single coordinate system graphs of y1(t) = sin(t) and y2(t) = cos(t) for 0 ≤ t ≤ pi. Function y1(t) should be plotted in yellow with dotted line and y2(t) in black with dashed line. Change the line width to 3. After creating a chart, add the grid, scale the charts so they occupy the entire space of available drawing. Code:
Screenshot:
Create graphs of functions: x, x3, ex, e^(x^2 ) for 0 ≤ x ≤ 1 in linear scale. Add a legend. Code:
Screenshot:
x, x3, ex, e^(x^2 ) for 0 ≤ x ≤ 1 use a logarithmic scale on the y-axis (func. semilogy). Add a legend and place it on the left side at the bottom. Code:
Screenshot:
x, x3, ex, e^(x^2 ) for 0 ≤ x ≤ 1 use a logarithmic scale on both axes (loglog function). Instead of a legend, add text annotations. Code:
Screenshot:
Create a graph of the function y(t) = ln2 + t + t2 for 0 ≤ t ≤ 50. Scale the graph so that: 5 ≤ t ≤ 20 and 30 ≤ y ≤ 600. Add a title written with bold font. Axis labels should be written in italic. Code:
Screenshot:
Best Answer