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

1 view (last 30 days)
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
Image Analyst
Image Analyst on 12 Nov 2013
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)

Azzi Abdelmalek
Azzi Abdelmalek on 12 Nov 2013
Why not plot(U,C) ?
  1 Comment
CX
CX on 12 Nov 2013
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.

Community Treasure Hunt

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

Start Hunting!