
Student Support Forum: 'Show, Semicolons, and Tag Times' topicStudent Support Forum > General > "Show, Semicolons, and Tag Times"
| Author |
Comment/Response |
Meaghan
|
09/14/11 4:29pm
Hello,
I'm having a problem getting plots to show.
I realize ListPlot[] shouldn't have a semicolon after it to get it to display.
My code:
ListPlot[HcSpecData]
(*Correlation Coefficient*)
cov = Covariance[Diff3, Transpose[HcTrain][[2]]];
If I leave off the semicolon after ListPlot[], I get a "Tag Times is protected" error - I assume because Mathematica *thinks* I am saying ListPlot[]*cov = something.
If I do
ListPlot[HcSpecData];
(*Correlation Coefficient*)
cov = Covariance[Diff3, Transpose[HcTrain][[2]]];
the semicolon after ListPlot[] get highlighted in red, the code compiles with no errors, but no plot is shown.
Any ideas?
Thank you!
URL: , |
|
Subject (listing for 'Show, Semicolons, and Tag Times')
 |
Author |
Date Posted
 |
 Show, Semicolons, and Tag Times |
Meaghan |
09/14/11 4:29pm |
 Re: Show, Semicolons, and Tag Times |
yehuda ben-s... |
09/15/11 2:04pm |
 Re: Re: Show, Semicolons, and Tag Times |
Meaghan |
09/16/11 11:05am |
 Re: Show, Semicolons, and Tag Times |
Meaghan |
09/16/11 12:02pm |
 Re: Re: Show, Semicolons, and Tag Times |
yehuda ben-s... |
09/21/11 07:00am |
|
| | | |
 | |
|