Drawing graphs in lyx
Hi, I'm preparing a presentation in lyx and want to draw a couple of (simple) graphs. I'm not a very advanced computer user so right now I'm making the presentation in lyx and drawing the graphs in Microsoft Word (!), and I plan to add them to the presentation as images afterwards. Is there a simpler way to do this? More specifically; is it possible to draw graphs directly in lyx? Best regards, Ola.
Re: Drawing graphs in lyx
On Friday 11 April 2008, Ola Vestad wrote: > Hi, > > I'm preparing a presentation in lyx and want to draw a couple of (simple) > graphs. I'm not a very advanced computer user so right now I'm making the > presentation in lyx and drawing the graphs in Microsoft Word (!), and I > plan to add them to the presentation as images afterwards. > Is there a simpler way to do this? More specifically; is it possible to > draw graphs directly in lyx? > Ola, LyX does not have built-in graphing, but there are a number of easy-to-use tools out there which LyX supports very nicely. Personally, I use Grace http://plasma-gate.weizmann.ac.il/Grace/. Unfortunately, it appears that installing Grace on Windows (which I assume is your OS) does not appear to be trivial. I haven't tried it. However, the way you are doing it can work quite well, or at least as well as anything using MS Word (wouldn't Excel be better?). If you can save the graph in a vector format that LyX can read (such as PDF or Postscript) the results will be better than saving it as a raster file. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: Drawing graphs in lyx
On Fri, Apr 11, 2008 at 7:24 AM, Les Denham <[EMAIL PROTECTED]> wrote: > On Friday 11 April 2008, Ola Vestad wrote: > > Hi, > > > > I'm preparing a presentation in lyx and want to draw a couple of (simple) > > graphs. I'm not a very advanced computer user so right now I'm making the > > presentation in lyx and drawing the graphs in Microsoft Word (!), and I > > plan to add them to the presentation as images afterwards. > > Is there a simpler way to do this? More specifically; is it possible to > > draw graphs directly in lyx? > > > Ola, > > LyX does not have built-in graphing, but there are a number of easy-to-use > tools out there which LyX supports very nicely. Personally, I use Grace > http://plasma-gate.weizmann.ac.il/Grace/. > > Unfortunately, it appears that installing Grace on Windows (which I assume is > your OS) does not appear to be trivial. I haven't tried it. > > However, the way you are doing it can work quite well, or at least as well as > anything using MS Word (wouldn't Excel be better?). If you can save the > graph in a vector format that LyX can read (such as PDF or Postscript) the > results will be better than saving it as a raster file. > -- > Les > > ~~ > Please avoid sending me Word or PowerPoint attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html > There was an extensive discussion of vector drawing programs recently. See: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg63810.html Cheers, /Bob
Re: Drawing graphs in lyx
Ola Vestad wrote: Yeah, I guess I wasn't very clear on that - sorry. I just wanna draw some very simple linear demand/supply kind of figures, so all I need is some straight lines (and maybe some arrows here and there) and the possibility to add names/equations to the different lines. The solution suggested by Les will probably be slightly too complicated for my use (at least for now). Thank you, Ola. On Mac, you can use the following: http://www.graphsketcher.com/ Otherwise, you'd be surprised what you can accomplish with something as simple as MS Paint (you can create curves by dragging the lines, and fill regions to demonstrate inequalities, etc). Rex
Re: Drawing graphs in lyx
The easiest thing to do is draw them outside LyX and then include the image. However, pstricks package will do what you want. You can find some examples from the tips and tricks link on the LyX page. http://tug.org/PSTricks/main.cgi?file=pst-plot/pst-plotDemo --- Ola Vestad <[EMAIL PROTECTED]> wrote: > Hi, > > I'm preparing a presentation in lyx and want to draw > a couple of (simple) > graphs. I'm not a very advanced computer user so > right now I'm making the > presentation in lyx and drawing the graphs in > Microsoft Word (!), and I plan to > add them to the presentation as images afterwards. > Is there a simpler way to do this? More > specifically; is it possible to draw > graphs directly in lyx? > > Best regards, > Ola. > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Drawing graphs in lyx
Le 11 avr. 08 à 19:27, Robert Orr a écrit : The easiest thing to do is draw them outside LyX and then include the image. However, pstricks package will do what you want. You can find some examples from the tips and tricks link on the LyX page. http://tug.org/PSTricks/main.cgi?file=pst-plot/pst-plotDemo Maybe Graphviz can do the job as well : http://www.graphviz.org Mael.
Re: Drawing graphs in lyx
Mael Hilléreau wrote: Le 11 avr. 08 à 19:27, Robert Orr a écrit : The easiest thing to do is draw them outside LyX and then include the image. However, pstricks package will do what you want. You can find some examples from the tips and tricks link on the LyX page. http://tug.org/PSTricks/main.cgi?file=pst-plot/pst-plotDemo Maybe Graphviz can do the job as well : http://www.graphviz.org Mael. As for drawing actual graphs (i.e. nodes and edges), a good one is yEd: http://www.yworks.com/en/products_yed_about.html
Re: Drawing graphs in lyx
On Fri, Apr 11, 2008 at 2:34 PM, Ola Vestad <[EMAIL PROTECTED]> wrote: > Is there a simpler way to do this? More specifically; is it possible to draw > graphs directly in lyx? > Dia [1] may suit your needs: "Dia is roughly inspired by the commercial Windows program 'Visio', though more geared towards informal diagrams for casual use. " Liviu [1] http://live.gnome.org/Dia
Re: Drawing graphs in lyx
I'm entering this conversation late, but another way to generate graphs is with octave, a numerical package very similar to MATLAB. I've used octave to generate eps files directly, or to generate files in xfig format which can also be translated to fig so that they can be incorporated into LaTeX (i.;e., LyX) with similar fonts. A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar On Apr 13, 2008, at 1:51 PM, Liviu Andronic wrote: On Fri, Apr 11, 2008 at 2:34 PM, Ola Vestad <[EMAIL PROTECTED]> wrote: Is there a simpler way to do this? More specifically; is it possible to draw graphs directly in lyx? Dia [1] may suit your needs: "Dia is roughly inspired by the commercial Windows program 'Visio', though more geared towards informal diagrams for casual use. " Liviu [1] http://live.gnome.org/Dia
Re: Drawing graphs in lyx
Mael Hilléreau wrote: > Maybe Graphviz can do the job as well : http://www.graphviz.org > I want to do exactly this but I am not sure how. Is it possible to have a graph-description in the dot format embedded within a LyX document and use a converter like dot2tex (http://www.fauskes.net/code/dot2tex/) to get TeX? If embedding is not possible I guess I would have to manually convert my dot file to TeX and then include it within my LyX doc...