please i need urgent solution to this. am trying to differentiate two plots on same graph

3 visualizaciones (últimos 30 días)
>> plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
??? plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
|
Error: Unbalanced or unexpected parenthesis or bracket.

Respuesta aceptada

Steven Lord
Steven Lord el 31 de Oct. de 2016
This:
plot(plist,ref(fcount,'x--':),plist,ref(fcount+1,'o:'))
is not the correct way to call plot. I think you want is something like:
plot(plist,ref(fcount,:),'x--',plist,ref(fcount+1,:),'o:')
If that's not it, explain with words (not code) what you're trying to plot and someone may be able to offer some guidance.

Más respuestas (1)

John D'Errico
John D'Errico el 31 de Oct. de 2016
You need to use
hold on
between the two plots.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by