Graphing help please!

Asked by Angelle Bradford on 18 Jun 2012
Latest activity Answered by Image Analyst on 6 Jul 2012

I have my script typed and done with, however, how do I get my script to become a figure/graph? what is the next move and process for using command window or whatever protocol it may be, to generate a graph/figure using my script?

Thanks for your help!

0 Comments

Angelle Bradford

Products

No products are associated with this question.

3 Answers

Answer by Sean de Wolski on 18 Jun 2012
figure; peaks

You're going to have to be a lot more specific if you want any useful responses.

2 Comments

Angelle Bradford on 6 Jul 2012

Okay. Here is my issue. I am getting confused on which screen is for what. The command window is the window that helps me create a graph, right? Can you help me figure out how to do that? I have a script? Do i leave it in the separate window, or import it into the command window? And then command the command window to use the script? Or is the script by itself the "command" for the command window?

Angelle Bradford on 6 Jul 2012

I have a script. * not I have a script "?"

Sean de Wolski
Answer by Walter Roberson on 18 Jun 2012

Often all you have to do is include a plot() command.

1 Comment

Angelle Bradford on 6 Jul 2012

Okay. Here is my issue. I am getting confused on which screen is for what. The command window is the window that helps me create a graph, right? Can you help me figure out how to do that? I have a script? Do i leave it in the separate window, or import it into the command window? And then command the command window to use the script? Or is the script by itself the "command" for the command window?

Walter Roberson
Answer by Image Analyst on 6 Jul 2012

You can type a whole script into a text editor window and then run it. Depending on what your script does, it might send output to the command window, or popup figures that have charts, plot, images, etc. on them.

Or you can also type in commands into the command window - usually one command at a time, unlike a script which does a whole bunch of commands in batch mode.

You need to look over the "Getting Started" section of the help, or view Doug Hull's online video tutorials at MATLAB Central (their website).

0 Comments

Image Analyst

Contact us