Skip to main content
added 305 characters in body
Source Link
Mike Honeychurch
  • 37.9k
  • 3
  • 90
  • 165

What you need is:

DisplayData20YrNoScientific = Map[Tooltip[#, NumberForm[N[#], ExponentFunction -> (Null &)]] &, DisplayData20Yr] 

So check that the tooltip works ok on the data:

enter image description here

Then plot it:

ListLinePlot[DisplayData20YrNoScientific, Joined -> True, PlotMarkers -> {Automatic, 12}] 

enter image description here

Edit

Forgot to mention that your original DisplayData20YrNoScientific

DisplayData20YrNoScientific = Map[NumberForm[N[#], ExponentFunction -> (Null &)] &, DisplayData20Yr]; 

creates a list of strings so there is nothing for ListLinePlot to plot which is why it fails.

What you need is:

DisplayData20YrNoScientific = Map[Tooltip[#, NumberForm[N[#], ExponentFunction -> (Null &)]] &, DisplayData20Yr] 

So check that the tooltip works ok on the data:

enter image description here

Then plot it:

ListLinePlot[DisplayData20YrNoScientific, Joined -> True, PlotMarkers -> {Automatic, 12}] 

enter image description here

What you need is:

DisplayData20YrNoScientific = Map[Tooltip[#, NumberForm[N[#], ExponentFunction -> (Null &)]] &, DisplayData20Yr] 

So check that the tooltip works ok on the data:

enter image description here

Then plot it:

ListLinePlot[DisplayData20YrNoScientific, Joined -> True, PlotMarkers -> {Automatic, 12}] 

enter image description here

Edit

Forgot to mention that your original DisplayData20YrNoScientific

DisplayData20YrNoScientific = Map[NumberForm[N[#], ExponentFunction -> (Null &)] &, DisplayData20Yr]; 

creates a list of strings so there is nothing for ListLinePlot to plot which is why it fails.

Source Link
Mike Honeychurch
  • 37.9k
  • 3
  • 90
  • 165

What you need is:

DisplayData20YrNoScientific = Map[Tooltip[#, NumberForm[N[#], ExponentFunction -> (Null &)]] &, DisplayData20Yr] 

So check that the tooltip works ok on the data:

enter image description here

Then plot it:

ListLinePlot[DisplayData20YrNoScientific, Joined -> True, PlotMarkers -> {Automatic, 12}] 

enter image description here