Plotting a set of data with respect to another set of data

Hello,
I have a set of data (an array containing 10 different values. Lets call the array C). I want to plot these values against a different value (lets call this U) to show how C changes with respect to U. How should I do this? I tried errorbars. I need to do something different. I was thinking about showing the density of C vs U. But I have no idea how to go about that. Can someone please help?
Thanks

1 Comment

What does this have to do with image processing/analysis as mentioned in the tags? If you have a figure, diagram, or image, please attach it.

Sign in to comment.

Answers (1)

Why not plot(U,C) ?

1 Comment

Thank you for the answer. I tried that. But it doesn't really show the comparison between U and C as I expect.

Sign in to comment.

Asked:

CX
on 12 Nov 2013

Commented:

CX
on 12 Nov 2013

Community Treasure Hunt

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

Start Hunting!