Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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.