feightj
(Mr. Feight)
1
I’m trying to set a value on a graph to NULL until an answer is given, but I’m not sure how to.
This is what I have so far:
number(c): when c1.submitted c1.numericValue
otherwise ???
I’ve tried writing null, NULL, and NaN, but the cl doesn’t recognize those.
Is there anything I can use? I don’t want it to be set as 0 because then it’ll show up on the graph as 0 and I want it to be blank instead.
depending on your use-case you could set it to something that’s undefined. say:
numericValue("\sqrt{-1}")
that may or may not be appropriate for what you intend to do with it though, so use your judgment there
feightj
(Mr. Feight)
3
That helped, thanks!
I also saw I could use pointLabel to do a similar thing on other questions.
How do I write Null in Desmos Scientific Calculator
NTMDev
(Math Is Fun!)
5
You can use an empty list:
variable = []
This would effectively create "null", but you would probably need an action to actually use this variable.