On 02/28/2015 4:19 PM, Hayden reynolds wrote:
> I am plotting multiple line on a graph and need to mark the end point of
> each line with a red X. I have tried referencing the position of the
> last point stored in an array and using 'r', 'cross' commands to form
> the red X. However i keep receiving error "There is no r property on the
> Line class." I am assuming I am going about plotting the x entirely
> wrong. Any advice on how to do this would be helpful.
hold on
plot(x(end),y(end),'rx')
May want to change 'markersize' property to enlarge the mark.
--
> I am plotting multiple line on a graph and need to mark the end point of
> each line with a red X. I have tried referencing the position of the
> last point stored in an array and using 'r', 'cross' commands to form
> the red X. However i keep receiving error "There is no r property on the
> Line class." I am assuming I am going about plotting the x entirely
> wrong. Any advice on how to do this would be helpful.
hold on
plot(x(end),y(end),'rx')
May want to change 'markersize' property to enlarge the mark.
--