Dnia Mon, 19 Jul 2010 10:43:53 +0000, Adam Majewski napisa?(a):
> Hi,
>
> I make a plot using plot2d and gnuplot. I woould like to make a title :
>
> title_string :concat(" 'Apollonian Gasket defined by curvatures
> (",string (r0*k0),", ",string(nk1),", ",string(nk1),", ",string(nk1),"
> )" ); my_preamble:sconcat("unset key; set size ratio 1; set title
> ",title_string);
> set_plot_option([gnuplot_preamble,my_preamble])$
>
> plot2d (plot_list)$
>
> How can I brake a title line to 2 lines ? ( puting /n sign into
> title_string does not work for me
>
> title_string :concat(" 'Apollonian Gasket /n defined by curvatures
> (",string(r0*k0),", ",string(nk1),", ",string(nk1),", ",string (nk1),"
> )" ); /* this does not work */
>
>
> Thx
>
> Adam
/* it works in my configuration */
title_string :concat("\"Apollonian Gasket\\n defined by curvatures
(",string(r0*k0),", ",string(nk1),", ",string(nk1),", ",string(nk1)," )
\" " );
my_preamble:sconcat("unset key; set size ratio 1; set title
",title_string);
set_plot_option([gnuplot_preamble,my_preamble])$
plot2d (plot_list)$
/* below = does not work in my cofiguration :
title_string :concat(" \"Apollonian Gasket \n defined by curvatures
(",string(r0*k0),", ",string(nk1),", ",string(nk1),", ",string(nk1)," )\"
" );
*/
Thx
Adam
(%i39) build_info()$
Maxima version: 5.20.1
Maxima build date: 8:52 2/16/2010
Host type: x86_64-unknown-linux-gnu
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.7