Comments (8)
Migrated from SourceForge
Author: tantau
Timestamp: 2005-11-24 08:42:23
Logged In: YES
user_id=886275
Hi!
yeah... Actually, I had started on some code for this but then somehow failed
to integrate it with the main trunk and now it's gone...
The main problem with the coordinate axis business is getting the syntax
right. The axis mechanism should be highly configurable (probably using lots
of styles and options), but dead-simple to use and, preferably, there should
be very little commands that need to be learned. And it should integrate
nicely with the rest of TikZ. So, I haven't got aound designing a syntax that
solves all these problems.
Naturally, good proposals would be welcome... Ideally with some code...
Best regards,
Till
from pgf.
Migrated from SourceForge
Author: nobody
Timestamp: 2005-11-24 22:43:50
Logged In: NO
Hi!
Thanks for your quick answer.
I'd really like to help, because my gnuplot/metapost
solution for producing plots is a mess.
Unfortunately, I've no experience in TeX programming and at
the moment my time is fully engaged with my diploma thesis -
in fact, the reason for my request are the plots I have to
produce for it ;).
So currently there's little chance that I can provide much
assistance.
However, if there's still demand for some help, when I've
finished this project, I'll be at your disposal.
Best regards,
Markus
from pgf.
Migrated from SourceForge
Author: tantau
Timestamp: 2013-08-28 12:59:57.292000
- status: open --> open-accepted
- Group: --> Next Release (example)
from pgf.
Migrated from SourceForge
Author: tantau
Timestamp: 2013-08-28 12:59:57.666000
There are now pgfplot and the datavisualization subsystem.
A simple axis "pic" (a very new concept) is still missing, however, for simple cases. So, let us postpone this / mark it as nice to have.
from pgf.
Migrated from SourceForge
Author: tantau
Timestamp: 2013-09-30 10:31:24.821000
- Group: Next Release --> Future
from pgf.
Here's some code I currently use for this:
pics/axes/.style args={#1:#2;#3:#4}{
code = {
\path[grid] (#1-.5,#3-.5) grid (#2+.5,#4+.5);
\draw[->,axis] (#1 - .5,0) -- (#2 + .5,0);
\draw[->,axis] (0,#3 - .5) -- (0,#4 + .5);
\foreach \x in {#1,...,#2} {
\ifnum\x=0\else
\draw[axis] (\x,0) -- (\x,-.2);
\node[below left] at (\x+.1,-.2) {\(\x\)};
\fi
}
\node[below] at (#2+.5,-.2) {\(x\)};
\foreach \y in {#3,...,#4} {
\ifnum\y=0\else
\draw[axis] (0,\y) -- (-.2,\y);
\node[below left] at (-.1,\y) {\(\y\)};
\fi
}
\node[left] at (-.1,#4+.5) {\(y\)};
\node[below left] at (0,0) {0};
}
},
pics/axes/.default={-6:6;-6:6},
from pgf.
Thank you Andrew for posting your solution.
I'm closing this issue for now, because I don't think TikZ needs a builtin solution for everything.
from pgf.
Sounds completely reasonable to me.
from pgf.
Related Issues (20)
- Suggestion: raise an error if `\path` is used in `\pgfextra` without `\pgfinterruptpath` HOT 4
- Make an option to turn off repeat behavior of `\foreach` when variable values are missing. HOT 4
- pgfsyspdfmark is undefined when used in aux file HOT 1
- libxpdf: Syntax Error: AcroForm field object is wrong type when mixing tikzexternal with animate HOT 2
- How can I enter Chinese in the pgf document, and then use "l3build doc -q -H" to compile successfully? HOT 4
- pgfpages layout "two screens with optional second" with "second top" do not show shading picture correctly HOT 1
- Gnuplot can't find the file when `$aux_dir` is set HOT 1
- `final` decoration state uses wrong coordinate transformation when remaining length is 0
- Meta-decoration states are missing `width` of `final` decoration state HOT 1
- \foreach initial value stored for remember key is actually in <macro>
- Why does rectangle operation change (current subpath start)? HOT 2
- TikZ creates <-> arrow when -> is specified when using node angles HOT 4
- dvisvgm backend: expose the name of tikz entities in order to assign svg id
- name intersections with sort-by inside \foreach loop produced wrong intersection as first one HOT 1
- Non-commuting draw options HOT 1
- Adding the opposite of `open` to arrow tips definitions HOT 21
- Buggy dvisvgm export for transparency group=knockout
- PGFKeys: Missing \pgfeov in \pgfkeysdefnargs HOT 2
- Wrong Indentation with pgfsys-dvisvgm.def HOT 2
- Foreach fails over pairs of coordinates HOT 1
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 pgf.