label position

View: New views
6 Messages — Rating Filter:   Alert me  

label position

by hanamilani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

pls forgive me to post again, still got difficulty placing the label at the right place.

out.eps

The file I have uploaded is the result of the following commads in gnuplot. The label is supposed to be situated at the  "cemter left" of the image vertically as the overall ylabel of the boxes. But, I could not manage to place it at the right place.

here is the gnuplot commads:

gnuplot> set terminal postscript enhanced

gnuplot> set output 'out.eps'
gnuplot> set xrange [-1:1]
gnuplot> set yrange [-1:1]
gnuplot> set multiplot layout 3,2
multiplot> plot sin(x)
multiplot> set label "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" rotate by 90 at -1.5,0
multiplot> plot sin(x-1)
multiplot> unset label
multiplot> plot sin(x-2)
multiplot> plot cos(x)
multiplot> plot cos(x-1)
multiplot> plot cos(x-2)
multiplot> unset multiplot

I would be grateful if you guide me how to solve this problem.

Regards,

Re: label position

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

set label "aaa...aaa" center rotate by 90 at screen 0.02,0.5

see 'help coordinates' or
http://www.gnuplot.info/docs/node49.html
and 'help set label' or
http://www.gnuplot.info/docs/node193.html

hanamilani wrote:
Hi,

pls forgive me to post again, still got difficulty placing the label at the right place.

out.eps

The file I have uploaded is the result of the following commads in gnuplot. The label is supposed to be situated at the  "cemter left" of the image vertically as the overall ylabel of the boxes. But, I could not manage to place it at the right place.

here is the gnuplot commads:

gnuplot> set terminal postscript enhanced

gnuplot> set output 'out.eps'
gnuplot> set xrange [-1:1]
gnuplot> set yrange [-1:1]
gnuplot> set multiplot layout 3,2
multiplot> plot sin(x)
multiplot> set label "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" rotate by 90 at -1.5,0
multiplot> plot sin(x-1)
multiplot> unset label
multiplot> plot sin(x-2)
multiplot> plot cos(x)
multiplot> plot cos(x-1)
multiplot> plot cos(x-2)
multiplot> unset multiplot

I would be grateful if you guide me how to solve this problem.

Regards,

Re: label position

by hanamilani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks for your guide.

when I want to use '{/Symbol \136}' in postscript enhanced terminal I receive the following message:

enhanced text parser - spurious }, is there anything wrong I am doing about it?

Re: label position

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

looks ok,
maybe you should post the whole 'set label' command,
or even better, the whole script.

hanamilani wrote:
thanks for your guide.

when I want to use '{/Symbol \136}' in postscript enhanced terminal I receive the following message:

enhanced text parser - spurious }, is there anything wrong I am doing about it?

Re: label position

by hanamilani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

the output of the following gnuplot commands are as enclosed. as you can see the although the plotting pf sing (x-1) should follw sin(x) in column one, it has been shifted to column 2. "aaaaa...aaaa" should be the ylabel of the first colum boxes.

gnuplot> set terminal postscript enhanced

gnuplot> set output 'out.eps'
gnuplot> set xrange [-1:1]
gnuplot> set yrange [-1:1]
gnuplot> set multiplot layout 3,2
multiplot> plot sin(x)
multiplot> set label "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" rotate by 90 at -1.5,0
multiplot> plot sin(x-1)
multiplot> unset label
multiplot> plot sin(x-2)
multiplot> plot cos(x)
multiplot> plot cos(x-1)
multiplot> plot cos(x-2)
multiplot> unset multiplot

Please let me know if I can use ylabel with proper offset instead of label. (I have tried it but the size of the boxes differ from  each other)

Regards,

Re: label position

by hanamilani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hanamilani wrote:
hi,

the output of the following gnuplot commands are as enclosed. as you can see the although the plotting pf sing (x-1) should follw sin(x) in column one, it has been shifted to column 2. "aaaaa...aaaa" should be the ylabel of the first colum boxes.

gnuplot> set terminal postscript enhanced

gnuplot> set output 'out.eps'
gnuplot> set xrange [-1:1]
gnuplot> set yrange [-1:1]
gnuplot> set multiplot layout 3,2
multiplot> plot sin(x)
multiplot> set label "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" rotate by 90 at -1.5,0
multiplot> plot sin(x-1)
multiplot> unset label
multiplot> plot sin(x-2)
multiplot> plot cos(x)
multiplot> plot cos(x-1)
multiplot> plot cos(x-2)
multiplot> unset multiplot

Please let me know if I can use ylabel with proper offset instead of label. (I have tried it but the size of the boxes differ from  each other)

Regards,
out.eps