adding line plot example, for both file output and server mode