Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Plotting a marker

Subject: Plotting a marker

From: Chris McCorquodale

Date: 28 Apr, 2011 07:59:07

Message: 1 of 3

Hi,

Can anyone tell me how to plot a point or a marker on a graph?

For example, if I have plotted a graph of y=2*x+5 and I want to indicate where something sits on the graph eg point(1,7). How would I go about doing this?

Thanks in advance,

Chris

Subject: Plotting a marker

From: Nasser M. Abbasi

Date: 28 Apr, 2011 08:14:42

Message: 2 of 3

On 4/28/2011 12:59 AM, Chris McCorquodale wrote:
> Hi,
>
> Can anyone tell me how to plot a point or a marker on a graph?
>
> For example, if I have plotted a graph of y=2*x+5 and I want to
> indicate where something sits on the graph eg point(1,7). How would I go about doing this?
>
> Thanks in advance,
>
> Chris

plot(1,7,'*')

--Nasser

Subject: Plotting a marker

From: Chris McCorquodale

Date: 28 Apr, 2011 09:18:04

Message: 3 of 3

"Nasser M. Abbasi" <nma@12000.org> wrote in message <ipb7lm$env$1@speranza.aioe.org>...
> On 4/28/2011 12:59 AM, Chris McCorquodale wrote:
>
> plot(1,7,'*')
>
> --Nasser

Thanks Nasser

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us