Group Abstract Group Abstract

Message Boards Message Boards

April 25th: The Perfect Date?

Posted 7 years ago
POSTED BY: Jesse Dohmann
2 Replies
Posted 7 years ago

Not sure if it's version thing (11.0.1.0) but I couldn't get the lables using the code shown - I had to Thread the rule: ListPlot[Thread[plotCoordinates[[All, 2]] -> (#["Name"] & /@ cities)], Frame -> {False, True}, PlotLabel -> "Mean Temperature of NZ Cities on April 25th", FrameLabel -> {"Celcius"}, PlotTheme -> "Detailed", GridLines -> {{}, {50, 65}}]

POSTED BY: Joe Gamman
Posted 7 years ago

Hmm, yeah. I think you're probably right. I ran the same code in an 11.1 notebook and everything worked fine. Though that doesn't surprise me, since there've been some significant updates to functions (from what I can see/work with, primarily options and performance related) in the recent point releases for version 11.

I do love a good Thread function though (I really love all our structural operations to be quite honest, hah!), so thanks for sharing your workaround!

POSTED BY: Jesse Dohmann
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard