|
From: Peggy Li <peg...@go...> - 2010-04-26 20:20:45
|
Hi
I have a legend which has 10 keys (10 items). I have used:
set key horiz
set key
I have also tried to use
set key height 0.5
set key width 20
to define/fix the physical size of the legend. But I still do not understand
how to use or define the number after
set key height
set key width
For example, how I am going to set the size of the legend to hold the 10
items of keys in only 2 columns. That is 5 items of keys in 1 column. Is
there also a way so that Gnuplot can automatically set the size of the
legend after I fix the number of columns or rows to hold the keys.
Thanks in advance.
Peggy Li
|
|
From: Peggy Li <peg...@go...> - 2010-04-27 09:29:44
|
Hi
I have a legend which has 10 keys (10 items). I have used:
set key horiz
set key
I have also tried to use
set key height 0.5
set key width 20
to define/fix the physical size of the legend. But I still do not understand
how to use or define the number after
set key height
set key width
For example, how I am going to set the size of the legend to hold the 10
items of keys in only 2 columns. That is 5 items of keys in 1 column. Is
there also a way so that Gnuplot can automatically set the size of the
legend after I fix the number of columns or rows to hold the keys.
Thanks in advance.
Peggy Li
|
|
From: Thomas S. <t.s...@fz...> - 2010-04-28 16:03:50
|
the number of rows/columns is calculated automatically to fill the screen. to change this two new options need to be introduced to the 'set key' command, something 'maxcols' and 'maxrows'. these values could then be used to change the automatically calculated number of rows/columns. but this needs some changes in the source code. peggyhyli wrote: > > Hi > > I have a legend which has 10 keys (10 items). I have used: > > set key horiz > set key > > I have also tried to use > > set key height 0.5 > set key width 20 > > to define/fix the physical size of the legend. But I still do not > understand > how to use or define the number after > > set key height > set key width > > For example, how I am going to set the size of the legend to hold the 10 > items of keys in only 2 columns. That is 5 items of keys in 1 column. Is > there also a way so that Gnuplot can automatically set the size of the > legend after I fix the number of columns or rows to hold the keys. > > Thanks in advance. > > Peggy Li > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/key-legend-control-tp28374833p28390629.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Peggy Li <peg...@go...> - 2010-04-28 17:18:45
|
So will this be implemented in the future source code for user's convenience! On 28 April 2010 17:03, Thomas Sefzick <t.s...@fz...> wrote: > > the number of rows/columns is calculated automatically to > fill the screen. > > to change this two new options need to be introduced to the > 'set key' command, something 'maxcols' and 'maxrows'. > these values could then be used to change the automatically > calculated number of rows/columns. > > but this needs some changes in the source code. > > > peggyhyli wrote: > > > > Hi > > > > I have a legend which has 10 keys (10 items). I have used: > > > > set key horiz > > set key > > > > I have also tried to use > > > > set key height 0.5 > > set key width 20 > > > > to define/fix the physical size of the legend. But I still do not > > understand > > how to use or define the number after > > > > set key height > > set key width > > > > For example, how I am going to set the size of the legend to hold the 10 > > items of keys in only 2 columns. That is 5 items of keys in 1 column. Is > > there also a way so that Gnuplot can automatically set the size of the > > legend after I fix the number of columns or rows to hold the keys. > > > > Thanks in advance. > > > > Peggy Li > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > > -- > View this message in context: > http://old.nabble.com/key-legend-control-tp28374833p28390629.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |