pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
198 stars 34 forks source link

Allow the use of "zmin"/"zmax" with "\addplot3 graphics" #260

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/26/ Author: juernjakob Timestamp: 2012-04-25 08:14:36

When using images in 3D plots using "\addplot3 graphics", the x and y limits of the axis can be set using "xmin", "xmax", etc. However, the corresponding "zmin" and "zmax" keys have no effect. To get an axis to start at z=0, for example, the "width" and "height" settings of the axis have to be manually tweaked, which makes it hard to get precise results. It would be great if it was possible to specify one of "zmin" or "zmax" to get more precise axis limits.

Example at http://tex.stackexchange.com/a/53032/2552.

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/26/#794a Author: ludewich Timestamp: 2012-04-27 22:26:49

DONE: it was quite easy to implement it.

I also fixed the problem with reversed axes; there was a sign bug in the view computation.

In other words: the example on tex.sx would now work with zmin=0, y dir=reverse .

I will upload the build to http://pgfplots.sourceforge.net/ (unstable section)

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/26/#d2e7 Author: ludewich Timestamp: 2012-04-27 22:26:49