314 Commits

Author SHA1 Message Date
Josef Heinen
00e05efd7c gr: fixed padding for guides 2017-07-26 09:44:34 +02:00
Daniel Schwabeneder
9c8e879465 Merge pull request #976 from daschw/ds-gr-legend
Line legend marker for ribbons in GR (fix #896)
2017-07-24 10:03:57 +02:00
Daniel Schwabeneder
0fa459d590 fix alpha in legend markers 2017-07-21 10:52:36 +02:00
Daniel Schwabeneder
96d34bb5ee changed marker for path with fillrange 2017-07-21 10:05:27 +02:00
Daniel Schwabeneder
9f712b44f3 add ribbon area to marker 2017-07-21 09:12:27 +02:00
Daniel Schwabeneder
52f042263b fix case 2017-07-20 23:38:16 +02:00
Daniel Schwabeneder
7b15f7d74b fix round() deprecation in gr.jl 2017-07-20 16:08:45 +02:00
Daniel Schwabeneder
155634ef34 change gr legend marker for ribbon 2017-07-19 21:26:25 +02:00
Daniel Schwabeneder
9b2da0d645 Merge branch 'master' into ds-heatmap-logscale 2017-07-16 12:51:33 +02:00
Josef Heinen
46ae505bab gr: implemented "old" heatmap behaviour 2017-06-22 15:31:13 -07:00
Josef Heinen
356a5b6136 gr: fixed heatmap bug 2017-06-22 12:56:41 -07:00
Josef Heinen
47c51b28c1 gr: heatmaps now respect xlim/ylim specifications
Fixes https://github.com/JuliaPlots/Plots.jl/issues/942
2017-06-19 18:15:33 -07:00
Daniel Schwabeneder
027ce58655 avoid negative heatmap edges for log axis on gr and pyplot 2017-06-18 16:14:44 +02:00
ChrisRackauckas
44b6157f17 cycle => _cycle 2017-06-09 08:43:01 -07:00
Michael K. Borregaard
8f6b0c50d6 ignoreNaN => ignorenan 2017-06-08 12:54:25 +02:00
Josef Heinen
46cdbacf0b gr: removed println statement 2017-06-07 18:15:43 -07:00
Michael K. Borregaard
f097fb57b5 Fix some deprecation warnings 2017-06-07 23:55:30 +02:00
Michael Krabbe Borregaard
fe83937368 Merge pull request #870 from wfrgra/legend
add ability to specify legend placement to gr backend
2017-06-07 15:44:00 +02:00
Josef Heinen
b140fddebd gr: added support for legend title 2017-06-04 10:02:20 +02:00
Daniel Schwabeneder
dc757cbf6c changed gr legend markers for fillrange 2017-06-02 17:39:25 +02:00
Michael K. Borregaard
80d0d6ecc8 Change NaNMath implementation
We needed some functions to forward to Base methods, e.g. when non-`AbstractArray{<:AbstractFloat}` was passed
2017-06-01 22:19:38 +02:00
Michael Krabbe Borregaard
d29df4289e RFC: Ignore NaNs on 0.6 (like on 0.5): fixes #796 (#876)
Replaces min, max, minimum, mean, maximum and extrema with NaNMath versions in places where NaNs can occur.

To avoid returning NaN when there are NaNs in the Vector

* Also add maximum and minimum

* define _-prefaced versions of mean, maximum, minimum, extrema

* variable arg numbers for Base methods

* Different implementation of the override

* remove underscore from 2-arg versions of maximum

* some forgotten extrema -> _extrema

* Fix bug in _extrema definition

* edit comment

* replace min and max with _min and _max

* Base NaN-compliant functions on NaNMath


replace _min and _max with NaNMath versions

* Use NaNMath explicitly everywhere

* remove unneccesary NaNMath calls

* Ensure ceil does not error on NaN

* Added one more maximum in gr
2017-06-01 19:17:28 +02:00
Josef Heinen
abf8ca2dc7 gr: fixed several bugs
- use correct image orientation
- added missing marker keywords
- improved alignment of axes labels
- corrected scaling of polar coordinates
- slightly shrink pie chart viewport
2017-05-30 10:29:31 +02:00
Josef Heinen
231e11715f gr: fix problems with axes display 2017-05-28 16:23:21 +02:00
wgrant
d6f1120dfc add ability to specify legend placement to gr backend 2017-05-27 16:46:38 +10:00
Josef Heinen
effcffff8a gr: corrected size of shape markers 2017-05-26 14:59:30 +02:00
Josef Heinen
4756e04e25 gr: improve viewport size for 3D plots 2017-05-24 11:19:43 +02:00
Michael K. Borregaard
db341f1814 Revert "changed xor in gr.jl"
This reverts commit 5c5472262668a431b7c8674013ac2dc8bdcc5b26.
2017-05-16 20:38:37 +02:00
Michael K. Borregaard
5c54722626 changed xor in gr.jl 2017-05-16 11:28:38 +02:00
Michael Krabbe Borregaard
4d84ab155a Merge pull request #812 from JonathanAnderson/JonathanAnderson-patch-1
Update gr.jl inline display to match GR.jl
2017-05-10 13:28:29 +02:00
Josef Heinen
5e6a9da3ed gr: use correct colorbar scaling 2017-05-08 14:36:25 -07:00
Josef Heinen
c75e1df190 gr: fixed linewidth bug (lw=0) 2017-05-04 16:28:49 +02:00
Jonathan Anderson
5166d16406 Update gr.jl inline display to match GR.jl
I wanted to switch from using GR directly to using Plots, but the inline plots were not working for me.

The following change is sufficient to generate inline plots in iterm for me
0f167b2be9/src/GR.jl (L3014)

julia> versioninfo()
Julia Version 0.6.0-pre.beta.187
Commit 55c97fb* (2017-04-17 23:06 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
julia> using TerminalExtensions
julia> using Plots
julia> gr(display_type=:inline);
julia> z=[sin(sqrt(x^2+y^2)) for x in linspace(-2π,2π,50), y in linspace(-2π,2π,50)];
julia> contour(z)
2017-04-18 10:32:07 -05:00
Josef Heinen
5d4f3182fc gr: expand extrema for heatmap() axes 2017-04-13 10:51:03 +02:00
Josef Heinen
ccb9df2a08 gr: use correct line width 2017-04-10 14:56:38 +02:00
Josef Heinen
c3ae9e1ee2 Merge pull request #764 from JuliaPlots/dev
gr: use correct marker size
2017-04-10 12:59:39 +02:00
Josef Heinen
abcc4b6739 Merge pull request #763 from jheinen/dev
gr: use correct colorbar() routine
2017-04-10 12:58:10 +02:00
Josef Heinen
dd3f65496a gr: use correct marker size 2017-04-10 12:54:57 +02:00
Josef Heinen
fac39344f4 Merge pull request #754 from jheinen/dev
gr: use correct colorbar() routine
2017-03-31 16:28:18 +02:00
Josef Heinen
ffb9878893 gr: use correct colorbar() routine 2017-03-31 16:26:29 +02:00
Michael K. Borregaard
37e2c18c3c define default behaviour for symbol in gr_text 2017-03-03 12:15:23 +01:00
Josef Heinen
b109025fac Fixed image bug 2017-02-27 14:13:16 +01:00
Josh Day
fd947ab887 only one, smaller gr marker 2017-02-22 10:40:16 -05:00
Josef Heinen
eb7534d319 gr: corrected alignment of rotated axes labels 2017-02-14 09:55:46 +01:00
Josef Heinen
471b09bd6c gr: added support for hexbin plots 2017-02-10 11:24:48 +01:00
Josef Heinen
72d336265b gr: use GKSwstype environment (required for QML) 2017-01-06 19:48:41 +01:00
Tom Breloff
2a7604ef5f gr: fix 3d grid 2016-11-22 13:45:11 -05:00
Tom Breloff
e24acece49 shape_coords fixes; makekw 2016-11-17 13:45:49 -05:00
Tom Breloff
000660b43a return font from EachAnn; several annotation fixes; tests fixes 2016-11-17 11:28:33 -05:00
Thomas Breloff
e3c06cad57 cleanup and comments 2016-11-04 15:54:26 -04:00