Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Greetings,
I am working on this task where I need to plot a variable against time. However, I am getting an error saying "Plotting failed. replace complex values and NaNs by real numbers". Can someone help me sort this out?
Solved! Go to Solution.
You need to assign your "time" range in seconds - you're trying to compare a unit-less value against values with units of time.
You need to assign your "time" range in seconds - you're trying to compare a unit-less value against values with units of time.