there have been some situations where i needed a custom grid on a 2-dimensional plot in gnuplot instead of a regularly placed grid. in order for me to set up a customized grid i have to first set up a customised xtics and/or ytics. gnuplot does provide a way of providing user preferred tics by [...]
Archive for the ‘sed’ Category
xtics ytics from data file in gnuplot
Posted in gnuplot, linux, sed, tagged bash, gnuplot, linux, plotting, sed, shell script on November 9, 2010 | 3 Comments »
sed introduce newline before a matched line
Posted in sed on February 1, 2010 | Leave a Comment »
i want to transform this: in to this : that is i want to introduce one or more new line before all lines starting with “# gen = “. this is how one can do it using sed. ‘s/ bit :: is for the substitute command ^# gen :: is the regular expression which matches [...]