Thank you so much for your reply.
My problem is there are totally 10 plots.
Suppose user wants to view only 3.Then in graph there are 3 plots.But Plot legends 10.
If I am using the property node u specified,is it possible to achieve that?
The user may be selecting plot2,plot 6 and plot 9.
Then the legends shown should be plot2,plot6 and plot9 only.
Thanks once again