X-Received: by 2002:a05:6214:8c1:: with SMTP id da1mr2275174qvb.66.1583924133403; Wed, 11 Mar 2020 03:55:33 -0700 (PDT) X-Received: by 2002:aca:56c5:: with SMTP id k188mr1382358oib.165.1583924133069; Wed, 11 Mar 2020 03:55:33 -0700 (PDT) Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Wed, 11 Mar 2020 03:55:32 -0700 (PDT) In-Reply-To: <55ca12d9-6c65-449c-beb6-a3aa84db7a1f@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=58.152.43.178; posting-account=y9kfbAoAAACgY1ec2nDTRC1gPrtmJ-i6 NNTP-Posting-Host: 58.152.43.178 References: <55ca12d9-6c65-449c-beb6-a3aa84db7a1f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Preview your gnuplot figures in VS Code From: hiiiide42@gmail.com Injection-Date: Wed, 11 Mar 2020 10:55:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 51 Xref: csiph.com comp.graphics.apps.gnuplot:4304 =E5=9C=A8 2020=E5=B9=B43=E6=9C=8810=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=8C UTC= +8=E4=B8=8A=E5=8D=8810:41:41=EF=BC=8CCristian Camilo Mejia=E5=86=99=E9=81= =93=EF=BC=9A > Hi man!=20 > This sounds great for me. But, to be honest, I do not have idea of VS Cod= e. I have installed VS Code on mac then I have installed the extension. How= ever, still I can=E2=80=99t realize what do you mean with "Make sure you ha= ve added the directory containing gnuplot binary to PATH environment variab= le and restart VS Code before using this extension.=E2=80=9D How can I do t= hat...? There exist an ini file for VS Code? Where is it? > Thanks in advance, > Crist. >=20 > On Monday, March 9, 2020 at 1:10:21 AM UTC-5, fizzybreezy wrote: > > Hello, > >=20 > > 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. > >=20 > > Here is the link : https://marketplace.visualstudio.com/items?itemName= =3Dfizzybreezy.gnuplot > >=20 > > And here is the source code : https://github.com/fizzybreezy/vscode-gnu= plot > >=20 > > 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. > >=20 > > Enjoy this extension and welcome to help me improve it by post issues a= nd pull request. > >=20 > > 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 pres= sing `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 c= omputer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea9452f8= 6dc1918de92b136e772c80. Hopefully this will work for you, if you still have troubles, fell free to = ask me and i'll try to help. fizzy