Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4302 > unrolled thread

Preview your gnuplot figures in VS Code

Started byfizzybreezy <hiiiide42@gmail.com>
First post2020-03-08 23:10 -0700
Last post2023-06-15 12:58 -0700
Articles 9 — 6 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Preview your gnuplot figures in VS Code fizzybreezy <hiiiide42@gmail.com> - 2020-03-08 23:10 -0700
    Re: Preview your gnuplot figures in VS Code Cristian Camilo Mejia <cc.mejia@gmail.com> - 2020-03-09 19:41 -0700
      Re: Preview your gnuplot figures in VS Code hiiiide42@gmail.com - 2020-03-11 03:55 -0700
        Re: Preview your gnuplot figures in VS Code Cristian Camilo Mejia <cc.mejia@gmail.com> - 2020-03-11 07:34 -0700
          Re: Preview your gnuplot figures in VS Code hiiiide42@gmail.com - 2020-03-12 01:25 -0700
            Re: Preview your gnuplot figures in VS Code Cristian Camilo Mejia <cc.mejia@gmail.com> - 2020-03-12 07:20 -0700
              Re: Preview your gnuplot figures in VS Code Nope Nope <b.erkhme@gmail.com> - 2021-08-16 03:42 -0700
        Re: Preview your gnuplot figures in VS Code not you <nguyen.tnhoang@gmail.com> - 2022-12-25 00:55 -0800
    Re: Preview your gnuplot figures in VS Code Abhishek Ranna <ranna15abhishek@gmail.com> - 2023-06-15 12:58 -0700

#4302 — Preview your gnuplot figures in VS Code

Fromfizzybreezy <hiiiide42@gmail.com>
Date2020-03-08 23:10 -0700
SubjectPreview your gnuplot figures in VS Code
Message-ID<ff30df62-08b4-44b9-b4a3-b99952779c49@googlegroups.com>
Hello,

I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.

Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot

And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot

To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.

Enjoy this extension and welcome to help me improve it by post issues and pull request.

fizzybreezy

[toc] | [next] | [standalone]


#4303

FromCristian Camilo Mejia <cc.mejia@gmail.com>
Date2020-03-09 19:41 -0700
Message-ID<55ca12d9-6c65-449c-beb6-a3aa84db7a1f@googlegroups.com>
In reply to#4302
Hi man! 
This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it?
Thanks in advance,
Crist.

On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote:
> Hello,
> 
> I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.
> 
> Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot
> 
> And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot
> 
> To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.
> 
> Enjoy this extension and welcome to help me improve it by post issues and pull request.
> 
> fizzybreezy

[toc] | [prev] | [next] | [standalone]


#4304

Fromhiiiide42@gmail.com
Date2020-03-11 03:55 -0700
Message-ID<e966949a-9e06-4919-aa91-55cd0cb214c9@googlegroups.com>
In reply to#4303
在 2020年3月10日星期二 UTC+8上午10:41:41,Cristian Camilo Mejia写道:
> Hi man! 
> This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it?
> Thanks in advance,
> Crist.
> 
> On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote:
> > Hello,
> > 
> > I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.
> > 
> > Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot
> > 
> > And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot
> > 
> > To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.
> > 
> > Enjoy this extension and welcome to help me improve it by post issues and pull request.
> > 
> > fizzybreezy

hi crist,

well, I didn't test this extension on mac and I am not familiar with mac. I'll try to give some advice.

1. just open a gnuplot script in VS Code and open the preview panel by pressing `cmd + alt +v` ,change and save your script(do not `set terminal` and `set output`),see if the extension is worked.

2. if not, reinstall gnuplot with brew and restart vscode(maybe also your computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f86dc1918de92b136e772c80.

Hopefully this will work for you, if you still have troubles, fell free to ask me and i'll try to help.

fizzy

[toc] | [prev] | [next] | [standalone]


#4305

FromCristian Camilo Mejia <cc.mejia@gmail.com>
Date2020-03-11 07:34 -0700
Message-ID<155725b0-abde-496c-9f65-bcee053d47c5@googlegroups.com>
In reply to#4304
Hi fizzy! It works!. It seems that my problem came from gnuplot/vscode: “Cannot find or open file”. In the script I have a line with set loadpath '../‘, which works well directly in gnuplot. 

Thank you so much for your reply. 
Best,
Crist.


On Wednesday, March 11, 2020 at 5:55:34 AM UTC-5, hiii...@gmail.com wrote:
> 在 2020年3月10日星期二 UTC+8上午10:41:41,Cristian Camilo Mejia写道:
> > Hi man! 
> > This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it?
> > Thanks in advance,
> > Crist.
> > 
> > On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote:
> > > Hello,
> > > 
> > > I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.
> > > 
> > > Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot
> > > 
> > > And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot
> > > 
> > > To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.
> > > 
> > > Enjoy this extension and welcome to help me improve it by post issues and pull request.
> > > 
> > > fizzybreezy
> 
> hi crist,
> 
> well, I didn't test this extension on mac and I am not familiar with mac. I'll try to give some advice.
> 
> 1. just open a gnuplot script in VS Code and open the preview panel by pressing `cmd + alt +v` ,change and save your script(do not `set terminal` and `set output`),see if the extension is worked.
> 
> 2. if not, reinstall gnuplot with brew and restart vscode(maybe also your computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f86dc1918de92b136e772c80.
> 
> Hopefully this will work for you, if you still have troubles, fell free to ask me and i'll try to help.
> 
> fizzy

[toc] | [prev] | [next] | [standalone]


#4306

Fromhiiiide42@gmail.com
Date2020-03-12 01:25 -0700
Message-ID<9dc9ab30-c3b7-41f1-be86-b2b5332b8aea@googlegroups.com>
In reply to#4305
在 2020年3月11日星期三 UTC+8下午10:34:38,Cristian Camilo Mejia写道:
> Hi fizzy! It works!. It seems that my problem came from gnuplot/vscode: “Cannot find or open file”. In the script I have a line with set loadpath '../‘, which works well directly in gnuplot. 
> 
> Thank you so much for your reply. 
> Best,
> Crist.
> 
> 
> On Wednesday, March 11, 2020 at 5:55:34 AM UTC-5, hiii...@gmail.com wrote:
> > 在 2020年3月10日星期二 UTC+8上午10:41:41,Cristian Camilo Mejia写道:
> > > Hi man! 
> > > This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it?
> > > Thanks in advance,
> > > Crist.
> > > 
> > > On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote:
> > > > Hello,
> > > > 
> > > > I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.
> > > > 
> > > > Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot
> > > > 
> > > > And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot
> > > > 
> > > > To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.
> > > > 
> > > > Enjoy this extension and welcome to help me improve it by post issues and pull request.
> > > > 
> > > > fizzybreezy
> > 
> > hi crist,
> > 
> > well, I didn't test this extension on mac and I am not familiar with mac. I'll try to give some advice.
> > 
> > 1. just open a gnuplot script in VS Code and open the preview panel by pressing `cmd + alt +v` ,change and save your script(do not `set terminal` and `set output`),see if the extension is worked.
> > 
> > 2. if not, reinstall gnuplot with brew and restart vscode(maybe also your computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f86dc1918de92b136e772c80.
> > 
> > Hopefully this will work for you, if you still have troubles, fell free to ask me and i'll try to help.
> > 
> > fizzy

hi crist,

I have published a patched version and now you can use lines like `loadpath '../'` .

cheers,
fizzy

[toc] | [prev] | [next] | [standalone]


#4307

FromCristian Camilo Mejia <cc.mejia@gmail.com>
Date2020-03-12 07:20 -0700
Message-ID<5db55f4c-1ad7-4382-bc47-e201e1269382@googlegroups.com>
In reply to#4306
On Thursday, March 12, 2020 at 3:25:20 AM UTC-5, hiii...@gmail.com wrote:
> 在 2020年3月11日星期三 UTC+8下午10:34:38,Cristian Camilo Mejia写道:
> > Hi fizzy! It works!. It seems that my problem came from gnuplot/vscode: “Cannot find or open file”. In the script I have a line with set loadpath '../‘, which works well directly in gnuplot. 
> > 
> > Thank you so much for your reply. 
> > Best,
> > Crist.
> > 
> > 
> > On Wednesday, March 11, 2020 at 5:55:34 AM UTC-5, hiii...@gmail.com wrote:
> > > 在 2020年3月10日星期二 UTC+8上午10:41:41,Cristian Camilo Mejia写道:
> > > > Hi man! 
> > > > This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it?
> > > > Thanks in advance,
> > > > Crist.
> > > > 
> > > > On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote:
> > > > > Hello,
> > > > > 
> > > > > I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work.
> > > > > 
> > > > > Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot
> > > > > 
> > > > > And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot
> > > > > 
> > > > > To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts.
> > > > > 
> > > > > Enjoy this extension and welcome to help me improve it by post issues and pull request.
> > > > > 
> > > > > fizzybreezy
> > > 
> > > hi crist,
> > > 
> > > well, I didn't test this extension on mac and I am not familiar with mac. I'll try to give some advice.
> > > 
> > > 1. just open a gnuplot script in VS Code and open the preview panel by pressing `cmd + alt +v` ,change and save your script(do not `set terminal` and `set output`),see if the extension is worked.
> > > 
> > > 2. if not, reinstall gnuplot with brew and restart vscode(maybe also your computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f86dc1918de92b136e772c80.
> > > 
> > > Hopefully this will work for you, if you still have troubles, fell free to ask me and i'll try to help.
> > > 
> > > fizzy
> 
> hi crist,
> 
> I have published a patched version and now you can use lines like `loadpath '../'` .
> 
> cheers,
> fizzy

Dear fizzy, 
Great! I will try it soon.
Thanks a lot,
Crist.

[toc] | [prev] | [next] | [standalone]


#4423

FromNope Nope <b.erkhme@gmail.com>
Date2021-08-16 03:42 -0700
Message-ID<f11d4c47-f576-4936-98a2-efe5a55de9e9n@googlegroups.com>
In reply to#4307
torsdag 12 mars 2020 kl. 15:20:25 UTC+1 skrev Cristian Camilo Mejia:
> On Thursday, March 12, 2020 at 3:25:20 AM UTC-5, hiii...@gmail.com wrote: 
> > 在 2020年3月11日星期三 UTC+8下午10:34:38,Cristian Camilo Mejia写道: 
> > > Hi fizzy! It works!. It seems that my problem came from gnuplot/vscode: “Cannot find or open file”. In the script I have a line with set loadpath '../‘, which works well directly in gnuplot. 
> > > 
> > > Thank you so much for your reply. 
> > > Best, 
> > > Crist. 
> > > 
> > > 
> > > On Wednesday, March 11, 2020 at 5:55:34 AM UTC-5, hiii...@gmail.com wrote: 
> > > > 在 2020年3月10日星期二 UTC+8上午10:41:41,Cristian Camilo Mejia写道: 
> > > > > Hi man! 
> > > > > This sounds great for me. But, to be honest, I do not have idea of VS Code. I have installed VS Code on mac then I have installed the extension. However, still I can’t realize what do you mean with "Make sure you have added the directory containing gnuplot binary to PATH environment variable and restart VS Code before using this extension.” How can I do that...? There exist an ini file for VS Code? Where is it? 
> > > > > Thanks in advance, 
> > > > > Crist. 
> > > > > 
> > > > > On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote: 
> > > > > > Hello, 
> > > > > > 
> > > > > > I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work. 
> > > > > > 
> > > > > > Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot 
> > > > > > 
> > > > > > And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot 
> > > > > > 
> > > > > > To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts. 
> > > > > > 
> > > > > > Enjoy this extension and welcome to help me improve it by post issues and pull request. 
> > > > > > 
> > > > > > fizzybreezy 
> > > > 
> > > > hi crist, 
> > > > 
> > > > well, I didn't test this extension on mac and I am not familiar with mac. I'll try to give some advice. 
> > > > 
> > > > 1. just open a gnuplot script in VS Code and open the preview panel by pressing `cmd + alt +v` ,change and save your script(do not `set terminal` and `set output`),see if the extension is worked. 
> > > > 
> > > > 2. if not, reinstall gnuplot with brew and restart vscode(maybe also your computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f86dc1918de92b136e772c80. 
> > > > 
> > > > Hopefully this will work for you, if you still have troubles, fell free to ask me and i'll try to help. 
> > > > 
> > > > fizzy 
> > 
> > hi crist, 
> > 
> > I have published a patched version and now you can use lines like `loadpath '../'` . 
> > 
> > cheers, 
> > fizzy
> Dear fizzy, 
> Great! I will try it soon. 
> Thanks a lot, 
> Crist.

Hi. Sorry for the inconvenience to responding to everyone but i couldn't contact/reply other than this: I have downloaded the preview extension for gnuplot code but when i try to run the preview command it fails and says "Gnuplot: Gnuplot: Preview Figure" and "command 'gnuplot.view' failed" i have set PATH to the gnuplot bin folder. Do you have any idea what could be done to fix this?

[toc] | [prev] | [next] | [standalone]


#4505

Fromnot you <nguyen.tnhoang@gmail.com>
Date2022-12-25 00:55 -0800
Message-ID<331e906d-a6b3-4442-b3f0-e3ede12a428dn@googlegroups.com>
In reply to#4304
Where do I use the gnuplot.view?  I tried the terminal but it didn't work.

[toc] | [prev] | [next] | [standalone]


#4526

FromAbhishek Ranna <ranna15abhishek@gmail.com>
Date2023-06-15 12:58 -0700
Message-ID<84e64b75-4df5-4a14-ad77-6625d40315f3n@googlegroups.com>
In reply to#4302
On Monday, March 9, 2020 at 7:10:21 AM UTC+1, fizzybreezy wrote:
> Hello, 
> 
> I developed a VS Code extension to preview gnuplot figures when editing it and I want to share it with you to boost your work. 
> 
> Here is the link : https://marketplace.visualstudio.com/items?itemName=fizzybreezy.gnuplot 
> 
> And here is the source code : https://github.com/fizzybreezy/vscode-gnuplot 
> 
> To active preview, just use command `gnuplot.view` or hotkey `ctrl(cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.plt, *.gp ).The preview panel will auto refresh when you change your script and switch editor windows between scripts. 
> 
> Enjoy this extension and welcome to help me improve it by post issues and pull request. 
> 
> fizzybreezy

The following error shows up Check chanel output/gnulplot and the interface looks weird, can you help ?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web