wookai / paper-tips-and-tricks Goto Github PK
View Code? Open in Web Editor NEWBest practice and tips & tricks to write scientific papers in LaTeX, with figures generated in Python or Matlab.
License: MIT License
Best practice and tips & tricks to write scientific papers in LaTeX, with figures generated in Python or Matlab.
License: MIT License
Some packages of mine that may come in handy:
Just adding a comment here that I prefer to use one script (usually plot.py
at top level) that has a positional command line argument (using argparse
) for which figure(s) to create. This seems cleaner to me because you can keep your plotting functions all in one file, and generate multiple figures with a single command.
Loving this, and building on it has been a great exercise for our team.
One of my PCs is on Solus, and pdfcrop is not in the standard repositories. It depends on pdfedit, which is also unavailable and seems to have been abandoned long ago.
Any suggestions for auto-cropping with a pdfcrop
drop-in replacement? This should be updated for a more modern, standard set of cli tools if they're being hard-coded via subprocess
.
Just thought that I'd mention that a downside to using eps for figures is that transparency is not supported. As an example, I have found that having a legend that is semi-transparent and overlaps a curve slightly can allow for a better figure.
Thanks for the helpful tips.
The site http://titlecapitalization.com/ no longer works.
Perhaps you can recommend a different site.
What about the use of Jupyter notebooks for generating figures?
I had a journal request that your final PDF should not contain Type 1 fonts and in my case the culprit were matplotlib figures. I found that with this setting in ~/.config/matplotlib/matplotlibrc
you can make matplotlib avoid Type 1 fonts:
ps.useafm : True pdf.use14corefonts : True text.usetex : True
Maybe you consider this useful and can add it here somewhere.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.