Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'ShowLegend package' topicStudent Support Forum > General > Archives > "ShowLegend package"

Next Comment >Help | Reply To Topic
Author Comment/Response
04/28/11 07:57am

I have a question about using the ShowLegend package. I have created a "heat map" type of graph, and want to place a key next to the graph, indicating how the colours relate to numerical values. This can be done using the ShowLegend package- the Documentation Center suggests something like this:


DensityPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]}, Mesh -> False,
PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1",
"-1", LegendLabel->"Legend Title", LegendTextSpace->5, LegendPosition -> {1.1, -.4}}]

Which works fine. But the text in the label is incredibly small- does anyone know how to make it bigger? Also, is it possible to add intermediate numerical values to the key, rather than just the smallest and largest e.g. adding "0" in the middle.


URL: ,

Subject (listing for 'ShowLegend package')
Author Date Posted
ShowLegend package JoeC 04/28/11 07:57am
Re: ShowLegend package Forum Modera... 04/28/11 11:26am
Next Comment >Help | Reply To Topic