Curly braces drawing

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

Curly braces drawing

by Miguel Rubio Roy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
  I need to include some curly braces in a figure. It's a spectra and
I want to point out a group of peaks.
  I haven't found any feature in the documentation regarding curly
brace drawing (like set arrow does for arrows). Is this a missing
feature or I am missing something? Is there any way to do it? I would
prefer not to deal with a rotated latex label because the size of the
brace would be difficult to control.

I'm using gnuplot 4.2.5 with epslatex terminal

BTW, I'm not totally comfortable using a development list for this
type of questions. I wouldn't want to interfere with dev discussions.
Please, tell me if you prefer that I use any other list or forum

Thanks!

Miguel

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: Curly braces drawing

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

maybe draw a curly brace?
e.g.

set xrange [-10:10]
plot sin(x)/x, "-" us 1:2 w l sm bezier
-2 0.5
-2 0.6
-1 0.55
0 0.5
0 0.6

0 0.6
0 0.5
1 0.55
2 0.6
2 0.5
e

Miguel Rubio Roy wrote:
Hi,
  I need to include some curly braces in a figure. It's a spectra and
I want to point out a group of peaks.
  I haven't found any feature in the documentation regarding curly
brace drawing (like set arrow does for arrows). Is this a missing
feature or I am missing something? Is there any way to do it? I would
prefer not to deal with a rotated latex label because the size of the
brace would be difficult to control.

I'm using gnuplot 4.2.5 with epslatex terminal

BTW, I'm not totally comfortable using a development list for this
type of questions. I wouldn't want to interfere with dev discussions.
Please, tell me if you prefer that I use any other list or forum

Thanks!

Miguel

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: Curly braces drawing

by Miguel Rubio Roy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For the record, an auto-answer:

What I was asking can be done, with the epslatex terminal (and
probably most latex terminals) by using a zero-width \rule inside an
"stretchable" LaTeX delimiter:

set label '$\left\{\rule{0cm}{1cm}\right.$'

As all labels, it can be rotated and positioned; with \rule it can be
resized precisely. Of course, a part of curly braces this can also be
used with parenthesis, brackets and any other type of "stretchable"
delimiters for LaTeX.
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-403.html

Miguel

2009/6/20 Miguel Rubio Roy <mrubioroy@...>:

> Hi,
>  I need to include some curly braces in a figure. It's a spectra and
> I want to point out a group of peaks.
>  I haven't found any feature in the documentation regarding curly
> brace drawing (like set arrow does for arrows). Is this a missing
> feature or I am missing something? Is there any way to do it? I would
> prefer not to deal with a rotated latex label because the size of the
> brace would be difficult to control.
>
> I'm using gnuplot 4.2.5 with epslatex terminal
>
> BTW, I'm not totally comfortable using a development list for this
> type of questions. I wouldn't want to interfere with dev discussions.
> Please, tell me if you prefer that I use any other list or forum
>
> Thanks!
>
> Miguel
>

------------------------------------------------------------------------------
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta