(swplot-tooltipstring)= # swplot.tooltipstring ## Syntax `swplot.tooltipstring(swObject,[])` `swplot.tooltipstring(swObject,obj)` ## Description `swplot.tooltipstring(swObject)` generates tooltip string from the data of a graphical object. ## Input Arguments `swObject` : Struct, that contains the object data that is clicked on. `obj` : [spinw](#spinw) object that provides data to the tooltip text, optional.