Comments (5)
Options to tikzpicture
, hmm, never heard of it. What kind of thing would you imagine?
from matlab2tikz.
I.e.
\pgfplotsset{every axis/.append style={line width=0.5pt}}
or something like
\tikzstyle{plot legend}=[
rounded corners=2.5pt,inner xsep=3pt,inner ysep=2pt,
draw=black,fill=white,
font=\footnotesize,cells={anchor=center},
nodes={inner sep=2pt,text depth=0.15em,rounded corners=0pt,right}]
\pgfplotsset{every axis legend/.style={plot legend,at={(0.98,0.98)},below left}}
Might be that this can be placed inside the axis environment as well, not 100% sure. But IMO it makes the document cleaner if put outside.
from matlab2tikz.
Yeah definitely. I'm not sure what \pgfplotsset{every axis legend/.
does when different legend options are specified in the axis environment, but I can see adding something like this after \begin{tikzpicture}
would be useful. Let's not call it "option" though; after all, it's not like the syntax is \begin{tikzpicture}[extra stuff here]
, but more like
\begin{tikzpicture}
extra stuff here
[...]
Maybe extraTikzSettings
?
from matlab2tikz.
Settings sounds better than options, so you can go for that. Not sure which option(s) that are used when you have the some options in the \pgfplotsset{every axis.legend/.}
outside the axis environment and other legend options inside the environment, but what I've mainly done is to just make sure the legend is present in the plot in Matlab, and then do all the settings from \pgfplotsset{ever axis legend/.
in order to get the legend as I want it to be.
Just thought that after the neat way of adding extra axis options was introduced in m2t (saves me for a lot of time actually, so it's fantastic), it could be nice to have the same possibility outside the axis environment as well, even though it probably won't be used as much as the extraAxisOptions
.
from matlab2tikz.
I agree I'd be useful. I'll add it later today.
from matlab2tikz.
Related Issues (20)
- matlab2tikz generates empty tikz-file when creating polarplot HOT 1
- xticklabel style: number format error
- Text from legendflex has vertical position offset HOT 3
- Can matlab2tikz convert bubblecharts to tikz? HOT 1
- workaround for warning "unknown legend location 'layout'" in tiledlayout
- GDX init failed: Could not load shared library libgdxdclib64.dylib: dlopen(libgdxdclib64.dylib, 2): image not found HOT 1
- Error in `formatPgfTickLabels` with loglog plots HOT 1
- matlab2tikz does not know how to handle object with type "implicitfunctionline"
- Error when using bodeplot HOT 1
- Support for sgtitle
- How to simulate audio signal using Uniform Linear Array using MATLAB HOT 1
- Diseño del cerpentin
- add support for plotting polygons? HOT 2
- minor grid style
- Append font style for axis labels
- Spikes in the Latex plot when using Cleanfigure HOT 2
- question about data out of the xlim or ylim
- IMD Grid Finding
- matlab HOT 1
- Levels in contourf HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlab2tikz.