376 Commits

Author SHA1 Message Date
Pietro Vertechi
e16125cb50 some GR margin fixes 2017-08-23 13:49:33 +01:00
Pietro Vertechi
f751b1b7ff don't draw fill for 1D markers in gr 2017-08-23 08:40:19 +01:00
Daniel Schwabeneder
be4a374122 allow turning on/off the axes border 2017-08-20 21:55:21 +02:00
Pietro Vertechi
e164ea4b46 added default transparency to ribbon 2017-08-20 14:06:15 +01:00
Daniel Schwabeneder
130eb778d3 Merge pull request #1006 from daschw/ds-grid-axis
grid should be axis attribute (fix #675)
2017-08-17 23:57:59 +02:00
Daniel Schwabeneder
8288e85c25 only flip colorbar for marker_z 2017-08-16 22:32:00 +02:00
Daniel Schwabeneder
e0c679f5ee magic grid argument 2017-08-16 17:45:32 +02:00
Daniel Schwabeneder
2dd99d053a make it work on all backends 2017-08-10 20:49:03 +02:00
Daniel Schwabeneder
c60d66d94a make it work for gr, pyplot and plotly(js) 2017-08-10 17:46:11 +02:00
Josef Heinen
d90b2e6142 gr: use correct gradient labels for scatter plot 2017-08-10 09:31:54 +02:00
Josef Heinen
a937fa0ef8 gr: no longer handle '_' and '^' in text 2017-08-09 10:46:23 +02:00
Josef Heinen
50ec31a7a3 gr: improved calculation of bottom margin 2017-07-28 12:17:47 +02:00
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