write a script that will make x and y vectors


Write a script that will make x and y vectors.  Then, it will ask the user for a color ('red', 'blue', or 'green') and for a plot style ('o', '*').  It will then make a string "pstr" that have the color and plot style, so that the call to the plot function would be:  plot(x,y,pstr).  For example, if the user enters 'blue' and '*', the variable "pstr" would have'b*'.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write a script that will make x and y vectors
Reference No:- TGS0217570

Expected delivery within 24 Hours