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/
200 stars 35 forks source link

symmetric const plot handler #258

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/24/ Author: migueldvb Timestamp: 2011-12-28 11:37:02

It would be useful to have a constant plot handler with marks in the middle of the horizontal line, in a similar way to 'steps-mid' in matplotlib:

http://matplotlib.sourceforge.net/api/artist\_api.html\#matplotlib.lines.Line2D.set\_drawstyle

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/24/#10f7 Author: ludewich Timestamp: 2011-12-28 18:57:40

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/24/#a1bd Author: ludewich Timestamp: 2011-12-28 18:57:40

Hi Miguel,

thanks for the suggestion! I have added the requested feature. It will make its way into the next pgfplots stable (which will hopefully be released before the end of 2011).

I would appreciate it if you would take a look into http://pgfplots.sourceforge.net/pgfplots\_unstable.pdf section "4.4.3 Constant Plots" to verify that it does what you expected (the .pdf will be updated until Dec 29).

Best regards

Christian

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/24/#a87f Author: cfeuersaenger Timestamp: 2017-03-25 06:40:01.429000