want plot y axis value according to change of x axis value

Discussion in 'MATLAB' started by se chss, Apr 14, 2011.

  1. se chss

    se chss Guest

    se chss, Apr 14, 2011
    #1
    1. Advertisements

  2. se chss

    Wayne King Guest

    There are so many graphs on your linked page with many lines. You have to be specific what you mean by:

    1.) "how can i plot line at y axis. " -- You can add a line to a plot at a y-value with line()

    plot(randn(100,1));
    plot(1:100,randn(100,1));
    line(1:100,2,'color',[1 0 0]);

    2.) Please clarify what you mean by:
    "I want plot y axis value according to change of x axis value. "
    Do you mean a simple plot(x,y)?

    Wayne
     
    Wayne King, Apr 14, 2011
    #2
    1. Advertisements

  3. se chss

    se chss Guest

    thanks reply my post.

    i want plot graph of 'Finding current waveform' section which y axis value change according x axis value. i want plot exact graph of 'Finding current waveform' section.
     
    se chss, Apr 15, 2011
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.