Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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.