Re: creating a graphic in a text cell
- To: mathgroup at smc.vnet.net
- Subject: [mg128184] Re: creating a graphic in a text cell
- From: Dushan Mitrovich <dushanm at spinn.net>
- Date: Sat, 22 Sep 2012 02:46:25 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20120919085538.959F2683B@smc.vnet.net>
On Wed, 19 Sep 2012 09:38:48 -0400, Murray Eisenberg wrote: > > On Sep 19, 2012, at 4:55 AM, Dushan Mitrovich <dushanm at spinn.net> wrote: > >> I'm teaching a statics course that naturally requires a lot of >> depictions of ropes, springs, pulleys, etc. To produce a graphic box >> I use Ctrl-1 and use the tool palette. This works, a bit painfully, but >> recently I ran into a need to depict angles with short arcs. I couldn't >> find a way of doing that that the graphic box would accept. >> >> Is there a way to specify an arc, and if so, how? I'm running >> Mathematica >> 8.0.4.0 under Mac OS X.6.8. Thanks. >> >> - Dushan Mitrovich >> >> PS, is there a way to delete a cell without using the mouse? The only >> way I know is to click on the right bracket(s), then hit Delete. > > To create a circular arc, you may use the built-in command Circle, as in: > > Graphics[Circle[{0, 0}, 1, {Pi/6, Pi/3}], > Axes -> True, AxesOrigin -> {0, 0}] > > --- > Murray Eisenberg murray at math.umass.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305 I tried inserting the above Graphics[ instruction (using a text editor) into the notebook, but get the message that 'Graphics' is not an appropriate command or primitive. That's what I mean when I said originally "I couldn't find a way of doing that that the graphic box would accept." Alexei Boulbitch's suggestion may be the best solution. Thanks for the comment. - Dushan
- References:
- creating a graphic in a text cell
- From: Dushan Mitrovich <dushanm@spinn.net>
- creating a graphic in a text cell