|
From: Thomas S. <t.s...@fz...> - 2011-03-28 15:37:13
|
add the column with the x-values to the 'using' option: plot 'data.dat' using 1:2:xtic(1) with linespoints, \ 'data1.dat' using 1:2:xtic(1) with point Paulo J. Matos wrote: > > Hi, > > I have the following: > data.dat > 1000 5 > 1500 4 > 1750 9 > > data1.dat > 1200 2 > 1550 8 > 1600 6 > > I want to plot data.dat as a line and data1 as points. > However, I want the xtics to be equally spaced. So, 1000 should be > further from 1200 than 1500 from 1550. > > I have tried: > set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) > plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using > 2:xtic(1) with points > > but to no avail. > > Any tips on how to get this done? > > Cheers, > -- > PMatos > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/lines-and-points-from-discrete-data-tp31258709p31259483.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |