Question

2. [10 Pts] Use the MATLAB plot editing tools (Figure Editor) to modify the plot in Question 1. Change the line representing the function y(x) -0.5x. 2x to a black dashed line that is 1-point- sin wide, and change the marker to diamond of size 10.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

PLOT TITLE | LEGENDI Light Intensity as a Function of Distance 1200 Theory Experiment Y AXIS1000 LABEL 800 Comporie scn betwe

We can change the line property by opening plot editor by command 'plottools'
To customize objects in your graph, you can set their properties using the Property Editor.

To change line width follow the below given image

1.0 2 5 6 7 8 10 Time 5.0 Property Editor- Lineseries Display Name K Data Source auto Y Data Source Z Data Source Plot TypeM

and marker you can select from

9 Plot Type Line Marker none 6.0 6.0 v select diamond shape, and then set size from the drop down list beside it.

I hope this helps you solve your problem.

Add a comment
Know the answer?
Add Answer to:
Use the MATLAB plot editing tools (Figure Editor) to modify the plot in Question 1. Change...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • matlab only! Question 1 Plot the following: 0SXS10T, with increments of 0.1 T fx) x2sin(x) Use a green dashed line t...

    matlab only! Question 1 Plot the following: 0SXS10T, with increments of 0.1 T fx) x2sin(x) Use a green dashed line type with square markers. Add x and y axis titles of 'x axis' and 'x2sin(x) Do not add a title to the plot. Question 1 Plot the following: 0SXS10T, with increments of 0.1 T fx) x2sin(x) Use a green dashed line type with square markers. Add x and y axis titles of 'x axis' and 'x2sin(x) Do not add a...

  • To plot a figure of a function y=f(t) in an interval a and b in MATLAB,...

    To plot a figure of a function y=f(t) in an interval a and b in MATLAB, one should find n-1 points of t between a and b and then find the corresponding values to plot the figure. Below shows an example of a sin function in the range of 0 and 1 with 1000 increments, as well as the figure. >> t = 0:0.001:1; >> y = sin(2*pi*2*t); >> figure >> plot(t, y) 0 02 04 06 08 Demonstrate a...

  • Required: MATLAB CODE and attached figure window for the this question. 12. Make the plot of the astroid that is shown...

    Required: MATLAB CODE and attached figure window for the this question. 12. Make the plot of the astroid that is shown in the is problem by using the parametric equa- 0.5 tion: 05 0s cos'() and y -sin'(t) for -x<T 12. Make the plot of the astroid that is shown in the is problem by using the parametric equa- 0.5 tion: 05 0s cos'() and y -sin'(t) for -x

  • Please show the code necessary, and explanations on MATLAB. Plotting 11) Plot the function y =...

    Please show the code necessary, and explanations on MATLAB. Plotting 11) Plot the function y = sin(x) from x = 0 to 21. 12) Plot the functions y = x2 z = x2 + 2x + 1 from x = 0 to 2 on the same graph. Scripts: Input and Output 13) Write a script (M-file) to read in a message at the command line using the MATLAB input function and then display the message to the Command Window using...

  • Practice: Plot x vs y when y sin(x), y cosx), y sin (2"x), and y-2 sin(x)...

    Practice: Plot x vs y when y sin(x), y cosx), y sin (2"x), and y-2 sin(x) when x-1:0.1:10. Use 2 by 2 subplot, sin(x) is in location 1, cos(x) is in location 2, sin(2x) is in location 3 and 2 sin(x) is in location 4 The plot should have: (1) x labe|-"х value", y label = 'y value', legend 'y=sin(x)',' y-cos(x)',' y-sin (2*x)', "y-y-2*sin(x), and title = "X Vs. y, under Font Name of Times New Roman, and Font Size...

  • In this exercise, you will create a function trough_plot which will plot the cross-section of a...

    In this exercise, you will create a function trough_plot which will plot the cross-section of a trough outlines by the functions y0 and y. Input variables: x – a vector representing the x co-ordinates for the outline of the trough. y – a vector representing the y co-ordinates for the bottom of the trough. y0 – a vector representing the y co-ordinates for the top of the trough. Output variable: n/a – this function has no output variables. Process: The...

  • ON MATLAB, CREATE THOSE OUTPUTS WITH DIFFERENT VALUES. BE SURE U HAVE TO CHANGE NUMBERS, COLORS,...

    ON MATLAB, CREATE THOSE OUTPUTS WITH DIFFERENT VALUES. BE SURE U HAVE TO CHANGE NUMBERS, COLORS, SHAPES AND LTNE WEIGHTs... AND SHOW YOUR OUTPUT RESULTS AS WELL... the code:: % About Graphs x = 0: pi/40: 4*pi; figure, plot(x, sin(x)) figure, plot([1 1 2 3 3], [0 2 3 2 0]), axis([0 4 0 4]) % for easy plotting: figure, ezplot('tan(x)') % for plotting two graphs on the same axes % it allows to have independent y-axis labels on the...

  • solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for...

    solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for the value of x between -2.0 until 4.0. Draw the plot in dash line and in red colour, Label the title and all axes. 2. Consider the following functions for 0sxS pi: x() 10e0.St sin(3t +2) y(t) 7e-04t cos(5t - 3) (a) Draw both graphs on the same...

  • please use matlab Goal: Solve for the loads of the chain saw under different loading conditions....

    please use matlab Goal: Solve for the loads of the chain saw under different loading conditions. The loads on a chain saw as it cuts a log can be represented with the following equations: Ar +B -R cos(60) 0 My-W +By - R sin(60)0 Ar is the reaction load in the x-direction at point A (lb) Ay is the reaction load in the y-direction at point A (Ib) W is the weight of the chain saw (lb) R is the...

  • why the error comes 100% E52 Wed 7:41 AM MATLAB R2016a g (CHUNG HA)-"Snap... EDITOR PUBLISH...

    why the error comes 100% E52 Wed 7:41 AM MATLAB R2016a g (CHUNG HA)-"Snap... EDITOR PUBLISH VIEW Close on S+one www.youtube.com insert Efx P Recommended: Stone Musl... Settings ment Breakpoints Run Run and Advance Run and ndent Advance Time LDIT BREAKPOINTS RUN ents MATLAB Editor /Users/xinyuli/Documents/MATLAB/EMEC 5671Assign2.m EMEC 5671Assign2.m bisect.m W4 + 117 118 W5.Duffing's oscillator function dxedxdt (t,x) 119 120 121 dx(1,1)x(2,1); dx(2,1)-e.25x (2,1)+x(1,1)-x(1,1)^3+0.3*cos (t) ; 122. 123- 124 125 end tspan [e 60]; xe [e;11 It,x]-ode45(@dxdt, tspan, x0)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT