Я прочитал много тем в форумах, но havent нашел мой ответ еще.gnuplot tics нанесены на график
Проблема заключается в том, что GNUPLOT строит мои xtics, которые находятся в моем файле данных, но мне это не нужно ... Я вызываю gnuplot из C через трубы. я отправил тот же самый вопрос в nabble, но мне нужно ответить, как только :)
Возможноеvoid plotBox(FILE *pipe)
{
fprintf(pipe, "set grid\n"); // show grid
fprintf(pipe, "set boxwidth 0.9 relative\n");
fprintf(pipe, "set style fill solid 1.00 border lt -1\n");
fprintf(pipe, "set key outside right top vertical\n"); // show legend
fprintf(pipe, "set style data histograms\n"); // plot data in histograms
fprintf(pipe, "set style histogram clustered\n");
fprintf(pipe, "set datafile missing '-'\n");
fprintf(pipe, "set ytics 0,1\n");
fprintf(pipe, "set xtics border in scale 0,0 nomirror rotate by -45 autojustify\n");
fprintf(pipe, "set xtics norangelimit font ',13'\n");
fprintf(pipe, "set xtics ()\n");
fprintf(pipe, "set title 'boxiishi' \n");
fprintf(pipe, "plot 'data.d' using 1:xtic(1) t col, '' u 2 ti col, '' u 3 ti col, '' u 4 ti col\n");
}
это то, что я получаю: http://dl.dropbox.com/u/43516417/histogram.jpg
Я в замешательстве, у вашего участка нет xtics. Вы хотите, чтобы на xtics не было ярлыков? – mgilson