Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
On Tue, Aug 24, 2010 at 8:35 PM, Eric Schulte schulte.e...@gmail.comwrote: John Hendy jw.he...@gmail.com writes: [...] Cool -- I'm game. That's Great. What exactly is required? Can my generated html just be plopped in or should I revise anything? If there's an example page we're modeling after I can rearrange the pieces to match that? Whatever you think is best. Other language pages are linked to from the table at http://orgmode.org/worg/org-contrib/babel/languages.php#langs, so they could serve as a model. I'm up for pretty much anything. I'm glad it will make it to a useful place! I've no familiarity with how to add to word so I'll definitely need some assistance. Worg is a git repository of org-mode files which are exported to html to generate the resulting Worg web page. To contribute you clone the git repository, edit the org-mode files, and commit your changes. See http://orgmode.org/worg/worg-about.php for more information about Worg, and specific instructions about how to contribute. Thanks -- waiting for push access after registering at the cz git repo. I'll check some of the other language pages and try to model it after that -- both in tone and organization. It shouldn't take much to tweak it. I'll post back if I have further questions. I kind of anticipate them. For instance, how do I include my .png files? Do I need to put them on some other personal server (google doc/site) and have them link to those? Or is there a Worg pic repository? John I see the stub page, btw. Wonderful. Thanks -- Eric Best regards, John it should propagate to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php within the next two hours or so Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
John Hendy jw.he...@gmail.com writes: [...] I'll post back if I have further questions. I kind of anticipate them. For instance, how do I include my .png files? Do I need to put them on some other personal server (google doc/site) and have them link to those? Or is there a Worg pic repository? You can place pictures in the images/babel/ directory -- or file:../../../images/babel from the languages sub-directory. Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
Hi John, Nick Dokos nicholas.do...@hp.com writes: John Hendy jw.he...@gmail.com wrote: Alright Nick, careful what you wish for :) For anyone else who could use this or do something with it: - Over the weekend I figured out a bunch of stuff with gnuplot - I modified what I found to make it generic and wrote it up in an org file - The org file, resultant pics (eps), converted pngs, and exported html/pdf are in the attached .zip I haven't read it in complete detail yet, but so far it looks very nice. Much more extensive and detailed than I expected (that's a Good Thing!) Let me know if this can be useful for worg. I think so. I Certainly agree! This does look like Worg material. We're trying to beef up example heavy language specific pages for each language supported by Babel. This material you've compiled sounds like an ideal base for the gnuplot page. If you're willing/able to integrate this information into such a Worg page that would be fantastic, and I'd be very happy to help, I've just stubbed out the beginning of a gnuplot page on Worg which could hold your compiled instructions and examples. it should propagate to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php within the next two hours or so Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
On Wed, Aug 25, 2010 at 12:32 AM, Eric Schulte schulte.e...@gmail.comwrote: Hi John, Nick Dokos nicholas.do...@hp.com writes: John Hendy jw.he...@gmail.com wrote: Alright Nick, careful what you wish for :) For anyone else who could use this or do something with it: - Over the weekend I figured out a bunch of stuff with gnuplot - I modified what I found to make it generic and wrote it up in an org file - The org file, resultant pics (eps), converted pngs, and exported html/pdf are in the attached .zip I haven't read it in complete detail yet, but so far it looks very nice. Much more extensive and detailed than I expected (that's a Good Thing!) Let me know if this can be useful for worg. I think so. I Certainly agree! This does look like Worg material. We're trying to beef up example heavy language specific pages for each language supported by Babel. This material you've compiled sounds like an ideal base for the gnuplot page. If you're willing/able to integrate this information into such a Worg page that would be fantastic, and I'd be very happy to help, I've just stubbed out the beginning of a gnuplot page on Worg which could hold your compiled instructions and examples. Cool -- I'm game. What exactly is required? Can my generated html just be plopped in or should I revise anything? If there's an example page we're modeling after I can rearrange the pieces to match that? I'm up for pretty much anything. I'm glad it will make it to a useful place! I've no familiarity with how to add to word so I'll definitely need some assistance. I see the stub page, btw. Best regards, John it should propagate to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php within the next two hours or so Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
John Hendy jw.he...@gmail.com writes: [...] Cool -- I'm game. That's Great. What exactly is required? Can my generated html just be plopped in or should I revise anything? If there's an example page we're modeling after I can rearrange the pieces to match that? Whatever you think is best. Other language pages are linked to from the table at http://orgmode.org/worg/org-contrib/babel/languages.php#langs, so they could serve as a model. I'm up for pretty much anything. I'm glad it will make it to a useful place! I've no familiarity with how to add to word so I'll definitely need some assistance. Worg is a git repository of org-mode files which are exported to html to generate the resulting Worg web page. To contribute you clone the git repository, edit the org-mode files, and commit your changes. See http://orgmode.org/worg/worg-about.php for more information about Worg, and specific instructions about how to contribute. I see the stub page, btw. Wonderful. Thanks -- Eric Best regards, John it should propagate to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php within the next two hours or so Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
Okay, bounced attempts with both .zip and tar. We'll try this instead... the attached file mentioned below is here: https://sites.google.com/site/jwhendytank/home/org-gnuplot-writeup.zip - Sorry if this is a duplicate. My first attempt failed, perhaps due to the attached .zip? I'm trying .tar this time. - Alright Nick, careful what you wish for :) For anyone else who could use this or do something with it: - Over the weekend I figured out a bunch of stuff with gnuplot - I modified what I found to make it generic and wrote it up in an org file - The org file, resultant pics (eps), converted pngs, and exported html/pdf are in the attached .zip *[edit: .tar] [edit: see link above]* Let me know if this can be useful for worg. There's really nothing new that can't be found, but it's tricky if you don't know what you're looking for. The attached is the result of lots of digging on my part and some excellent help from the mailing list. Included are gnuplot methods for: - Setting axis titles with the #+PLOT method - Getting better image quality via eps - png from a previous mailing list discussion (thanks Eric Eric) - The use of the 'reset' command when using multiple gnuplot babel blocks in the same file - Unevenly spaced names x-tics - Multiple x-axis scales on the same graph - Broken axis example from gnuplot-tricks Again, this info exists elsewhere, but this might be very nice to have on worg. Perhaps this would serve as a nice primer for the beginner? I footnoted everywhere I could to the original sources of my information (mostly the mailing list and gnuplot-tricks blog). Let me know if I can be of assistance with any edits if this is actually worg-candidate material. I have no idea what the standards are or how this works. Thanks for all the help! John On Mon, Aug 23, 2010 at 10:16 AM, Nick Dokos nicholas.do...@hp.comwrote: John Hendy jw.he...@gmail.com wrote: Sounds good. Where would I post the solution? CLOSED: [2010-08-22 Sun 15:44] I think the list is the proper place: if the question comes up again, then it can be added to Worg. Cheers, Nick On Sat, Aug 21, 2010 at 6:17 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Problem solved with babel. I was able to get everything I wanted by piecing together some examples from the mailing list and gnuplot examples/manual around the web. Good! Maybe you should post the babel solution for future reference. Here is an org-plot solution for future reference: there is a script option that allows you to use an arbitrary gnuplot script. The org manual (http://orgmode.org/manual/Org_002dPlot.html#Org-Plot) describes it very well: , | script If you want total control, you can specify a script file (place |the file name between double-quotes) which will be used to |plot. Before plotting, every instance of $datafile in the |specified script will be replaced with the path to the generated |data file. Note: even if you set this option, you may still want |to specify the plot type, as that can impact the content of the |data file. ` foo.org: --8---cut here---start-8--- #+plot: type:2d script:myscript.gp | 1 | x: where it should be on the scale | y | |---++| | a | 0 | 10 | | b | 10 | 20 | | c | 11 | 30 | | d | 40 | 40 | --8---cut here---end---8--- myscript.gp: --8---cut here---start-8--- plot '$datafile' using 2:3:xticlabels(1) --8---cut here---end---8--- Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
Too good for words! Great work. :) On 23 August 2010 19:44, John Hendy jw.he...@gmail.com wrote: Okay, bounced attempts with both .zip and tar. We'll try this instead... the attached file mentioned below is here: https://sites.google.com/site/jwhendytank/home/org-gnuplot-writeup.zip - Sorry if this is a duplicate. My first attempt failed, perhaps due to the attached .zip? I'm trying .tar this time. - Alright Nick, careful what you wish for :) For anyone else who could use this or do something with it: - Over the weekend I figured out a bunch of stuff with gnuplot - I modified what I found to make it generic and wrote it up in an org file - The org file, resultant pics (eps), converted pngs, and exported html/pdf are in the attached .zip [edit: .tar] [edit: see link above] Let me know if this can be useful for worg. There's really nothing new that can't be found, but it's tricky if you don't know what you're looking for. The attached is the result of lots of digging on my part and some excellent help from the mailing list. Included are gnuplot methods for: - Setting axis titles with the #+PLOT method - Getting better image quality via eps - png from a previous mailing list discussion (thanks Eric Eric) - The use of the 'reset' command when using multiple gnuplot babel blocks in the same file - Unevenly spaced names x-tics - Multiple x-axis scales on the same graph - Broken axis example from gnuplot-tricks Again, this info exists elsewhere, but this might be very nice to have on worg. Perhaps this would serve as a nice primer for the beginner? I footnoted everywhere I could to the original sources of my information (mostly the mailing list and gnuplot-tricks blog). Let me know if I can be of assistance with any edits if this is actually worg-candidate material. I have no idea what the standards are or how this works. Thanks for all the help! John On Mon, Aug 23, 2010 at 10:16 AM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Sounds good. Where would I post the solution? CLOSED: [2010-08-22 Sun 15:44] I think the list is the proper place: if the question comes up again, then it can be added to Worg. Cheers, Nick On Sat, Aug 21, 2010 at 6:17 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Problem solved with babel. I was able to get everything I wanted by piecing together some examples from the mailing list and gnuplot examples/manual around the web. Good! Maybe you should post the babel solution for future reference. Here is an org-plot solution for future reference: there is a script option that allows you to use an arbitrary gnuplot script. The org manual (http://orgmode.org/manual/Org_002dPlot.html#Org-Plot) describes it very well: , | script If you want total control, you can specify a script file (place | the file name between double-quotes) which will be used to | plot. Before plotting, every instance of $datafile in the | specified script will be replaced with the path to the generated | data file. Note: even if you set this option, you may still want | to specify the plot type, as that can impact the content of the | data file. ` foo.org: --8---cut here---start-8--- #+plot: type:2d script:myscript.gp | 1 | x: where it should be on the scale | y | |---++| | a | 0 | 10 | | b | 10 | 20 | | c | 11 | 30 | | d | 40 | 40 | --8---cut here---end---8--- myscript.gp: --8---cut here---start-8--- plot '$datafile' using 2:3:xticlabels(1) --8---cut here---end---8--- Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Suvayu Open source is the future. It sets us free. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?
John Hendy jw.he...@gmail.com wrote: Alright Nick, careful what you wish for :) For anyone else who could use this or do something with it: - Over the weekend I figured out a bunch of stuff with gnuplot - I modified what I found to make it generic and wrote it up in an org file - The org file, resultant pics (eps), converted pngs, and exported html/pdf are in the attached .zip I haven't read it in complete detail yet, but so far it looks very nice. Much more extensive and detailed than I expected (that's a Good Thing!) Let me know if this can be useful for worg. I think so. Thanks! Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode