X-Received: by 2002:ac8:a8b:: with SMTP id d11mr6002914qti.94.1584001519548; Thu, 12 Mar 2020 01:25:19 -0700 (PDT) X-Received: by 2002:a05:6820:173:: with SMTP id k19mr3155242ood.5.1584001519168; Thu, 12 Mar 2020 01:25:19 -0700 (PDT) Path: csiph.com!xmission!news.snarked.org!border2.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: Thu, 12 Mar 2020 01:25:18 -0700 (PDT) In-Reply-To: <155725b0-abde-496c-9f65-bcee053d47c5@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=38.121.20.63; posting-account=y9kfbAoAAACgY1ec2nDTRC1gPrtmJ-i6 NNTP-Posting-Host: 38.121.20.63 References: <55ca12d9-6c65-449c-beb6-a3aa84db7a1f@googlegroups.com> <155725b0-abde-496c-9f65-bcee053d47c5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9dc9ab30-c3b7-41f1-be86-b2b5332b8aea@googlegroups.com> Subject: Re: Preview your gnuplot figures in VS Code From: hiiiide42@gmail.com Injection-Date: Thu, 12 Mar 2020 08:25:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 73 Xref: csiph.com comp.graphics.apps.gnuplot:4306 =E5=9C=A8 2020=E5=B9=B43=E6=9C=8811=E6=97=A5=E6=98=9F=E6=9C=9F=E4=B8=89 UTC= +8=E4=B8=8B=E5=8D=8810:34:38=EF=BC=8CCristian Camilo Mejia=E5=86=99=E9=81= =93=EF=BC=9A > Hi fizzy! It works!. It seems that my problem came from gnuplot/vscode: = =E2=80=9CCannot find or open file=E2=80=9D. In the script I have a line wit= h set loadpath '../=E2=80=98, which works well directly in gnuplot.=20 >=20 > Thank you so much for your reply.=20 > Best, > Crist. >=20 >=20 > On Wednesday, March 11, 2020 at 5:55:34 AM UTC-5, hiii...@gmail.com wrote= : > > =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= Code. I have installed VS Code on mac then I have installed the extension.= However, still I can=E2=80=99t realize what do you mean with "Make sure yo= u have added the directory containing gnuplot binary to PATH environment va= riable and restart VS Code before using this extension.=E2=80=9D How can I = do that...? 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 edi= ting it and I want to share it with you to boost your work. > > > >=20 > > > > Here is the link : https://marketplace.visualstudio.com/items?itemN= ame=3Dfizzybreezy.gnuplot > > > >=20 > > > > And here is the source code : https://github.com/fizzybreezy/vscode= -gnuplot > > > >=20 > > > > To active preview, just use command `gnuplot.view` or hotkey `ctrl(= cmd) + alt +v` when editing gnuplot scripts ( *.gnuplot, *.gnu, *.plot, *.p= lt, *.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 issu= es and pull request. > > > >=20 > > > > fizzybreezy > >=20 > > hi crist, > >=20 > > well, I didn't test this extension on mac and I am not familiar with ma= c. I'll try to give some advice. > >=20 > > 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. > >=20 > > 2. if not, reinstall gnuplot with brew and restart vscode(maybe also yo= ur computer). here is tutorial, https://gist.github.com/scuxiayiqian/c8ea94= 52f86dc1918de92b136e772c80. > >=20 > > Hopefully this will work for you, if you still have troubles, fell free= to ask me and i'll try to help. > >=20 > > fizzy hi crist, I have published a patched version and now you can use lines like `loadpath= '../'` . cheers, fizzy