Question: How add legend to a dataplot?


I need to add a legend to a figure using dataplot (I am not even sure that is the right option).  In what follows I show what I did.


dataplot([28,28,28],[.6481496576, .648149657615473, .6512873548],style='point',colorscheme=["Blue","Orange","Red"],	
labels = ["k", "y(k)"], legend = ["10-digit precision", "15-digit precision", "Floating-point iteration"] ,legendstyle = [font = ["HELVETICA", 9], location = right]);

The outcome is

As can be seen some parts of the legend are missing.


How can I get this right? Do I have other ways to do the same thing?  


Many thanks




Please Wait...