Implemented inline plots
* Appending savefig to the ends of the commands mentioning plotting functions * Reading resulting files, that are saved to tmp dir * Saving graph in eps format
filipesaraiva |
Cantor |
Implemented inline plots
* Appending savefig to the ends of the commands mentioning plotting functions * Reading resulting files, that are saved to tmp dir * Saving graph in eps format
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Could you provide some code to test it? I was using the plot command used in a previous revision but it is not working. The figure is not saved and I can not see the plot in a different window.
Looks like your implementation allows only the inline plot, right? There is not an option to turn off the inline plot, right?
You can use wizard to create a plot as earlier. Can you send me a code that not working for you?
Looks like your implementation allows only the inline plot, right? There is not an option to turn off the inline plot, right?
Now all plots are inline. Do you want me to add an option?
You must implement the way to turn on/off this feature. Give a look in other backends, you need to add a boolean variable in the Julia backend configuration screen and use that to turn on/off the feature.
src/backends/julia/juliaexpression.cpp | ||
---|---|---|
43 | I don't know what is the problem but here in my computer only .svg files could be loaded in the worksheet. So, please change it to .svg and we will give a look here and in other backends to select a common image format for this feature in the future. |
Added options to disable inline plots, choose intermediate format for them. Also fixes generating of 'gks.svg'
That's ok @ivanlakhtanov, just do the change described below.
src/backends/julia/settings.ui | ||
---|---|---|
36 | Just change the "restart backend when changed" to the more correct "start a new session when changed" or remove it. |