I added the line - \addplot table[sharp plot, stack plots=false,y=Migrate_Fifo] from \datatable ; But it doesn't work. What I get is still the bar graph
–
RajSep 3 '12 at 14:10

2

No, you have to add the options directly after \addplot, so \addplot [sharp plot, stack plots=false] table [.... I would have posted an example, but I couldn't get your code to compile. You should try to post complete and minimal example documents, instead of complicated code snippets.
–
JakeSep 3 '12 at 14:12

Great that worked ! However, I could not fix the legend to be a line. Can I somehow re-define the legend style?
–
RajSep 3 '12 at 15:18

It might be enough to just remove the area legend from your axis options, then all the plots should automatically have the right legend style.
–
JakeSep 3 '12 at 15:20