Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab debugging Aid.

  1. Oct 4, 2004 #1
    Ok I'm workin on this porject and I just got this error:

    ??? Error using ==> plot
    Illegal parameter-value pair.

    Error in ==> plotfunction at 21
    plot(xset, yset,plotsymbol ,xname,yname,title);

    When I click on it to take me where the problem is, this is what I have there:

    % plot data according to type chosen by user

    if choice == 1
    elseif choice == 2
    else choice == 3

    It brings me too line 21
    Code (Text):
    "plot(xset, yset,plotsymbol ,xname,yname,title);"
    as being the problem.

    This is what my function looks likes:

    Code (Text):
    function [] = plotfunction(xset,yset,plotsymbol,choice,xname,yname,title);

    Any help would be appericated
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: Matlab debugging Aid.
  1. Matlab and physics (Replies: 3)

  2. MATLAB problem (Replies: 1)

  3. MATLAB histogram (Replies: 3)