author | Francesco Abbate <francesco.bbt@gmail.com> | 2013年02月04日 23:41:10 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2013年02月04日 23:41:10 +0100 |
commit | 8f37ead2e3166d99665ce1ffb246900d0b0a2e1f (patch) | |
tree | 029f821366e7e98f6a2e33d778d3be5a4f1d2553 /agg-plot/plot.cpp | |
parent | 858c66cac8902ad7fd32d10ae82bb885f9774904 (diff) | |
download | gsl-shell-8f37ead2e3166d99665ce1ffb246900d0b0a2e1f.tar.gz |
-rw-r--r-- | agg-plot/plot.cpp | 4 |
diff --git a/agg-plot/plot.cpp b/agg-plot/plot.cpp index 95f3f743..698f1d00 100644 --- a/agg-plot/plot.cpp +++ b/agg-plot/plot.cpp @@ -248,7 +248,7 @@ double plot::draw_xaxis_factors(units& u, { const double text_label_size = get_default_font_size(text_axis_labels, scale); - const double y_spacing = 0.05; + const double y_spacing = 0.075; const unsigned layers_number = f_labels->size(); double p_lab = - double(layers_number) * y_spacing; for (unsigned layer = 0; layer < layers_number; layer++) @@ -271,7 +271,7 @@ double plot::draw_xaxis_factors(units& u, mark.line_to(q_a, p_lab + y_spacing); const char* text = factor->label_text(k); - draw::text* label = new draw::text(text, text_label_size, 0.5, -0.2); + draw::text* label = new draw::text(text, text_label_size, 0.5, -0.4); label->set_point(q_lab, p_lab); label->angle(0.0); |