Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 08:21
    moesphere commented #256
  • Sep 20 08:21
    moesphere commented #256
  • Sep 20 08:21
    moesphere commented #256
  • Sep 19 19:25
    asinghvi17 opened #258
  • Sep 19 19:25

    asinghvi17 on corrplot2

    change to generic dispatch (compare)

  • Sep 19 19:24

    asinghvi17 on corrplot2

    (compare)

  • Sep 19 12:05
    mkborregaard commented #67
  • Sep 19 11:55
    daschw commented #67
  • Sep 19 11:46
    mkborregaard commented #67
  • Sep 19 11:45
    daschw commented #67
  • Sep 19 11:44
    mkborregaard commented #67
  • Sep 19 10:58
    daschw opened #67
  • Sep 18 10:13
    BeastyBlacksmith commented #63
  • Sep 18 10:12
    BeastyBlacksmith commented #63
  • Sep 17 20:15
    mkborregaard commented #63
  • Sep 17 20:13
    KristofferC commented #63
  • Sep 17 20:11
    mkborregaard commented #63
  • Sep 17 19:53
    goretkin commented #63
  • Sep 17 19:44
    goretkin commented #63
  • Sep 17 19:42
    goretkin commented #63
BridgingBot
@GitterIRCbot
[slack] <asinghvi17> Not in latex, you can do it in unicode probably. Unfortunately we don’t have rendering support for latex (yet) - that would probably need a wrap of Pango.
[slack] <chen.tianc> maybe not latex
[slack] <asinghvi17> Yeah you can show unicode no sweat…we use DejaVu by default which supports a lot of this
[slack] <chen.tianc> All I want to do, is to mouse click the screen, and add species, and gradually build large chemical reaction network graphically
[slack] <asinghvi17> If you click on the screen, then you can obtain a position which you can do arbitrary things with
[slack] <chen.tianc> ok, I see. That’s great
BridgingBot
@GitterIRCbot
[slack] <asinghvi17> The marginalhist image in Using Plot Recipes (in the tutorials section) is broken - it’s not a marginal hist, but the plot before it
BridgingBot
@GitterIRCbot
[slack] <mschauer> Stupid question: what 3d streamlines? Did someone generalise 2d already?
[slack] <asinghvi17> yep…Simon did
[slack] <mschauer> do you have a picture for me?
Martijn-R
@Martijn-R
is it possible to have the y-axis on log scale, but to have the labels in standard notation (i.e. not scientific notation)?
BridgingBot
@GitterIRCbot
[slack] <mschauer> nice! I claimed that adapting the recipe is straight forward - but words are cheap and the devil is in the detail...
BridgingBot
@GitterIRCbot
[slack] <daschw> Thanks, hopefully fixed in JuliaPlots/PlotDocs.jl#155
BridgingBot
@GitterIRCbot
[slack] <daschw> JuliaPlots/Plots.jl#2170
BridgingBot
@GitterIRCbot
[slack] <loki._.> what is the reason that the :vline recipe is returning [1,-1,NaN] as y-values?
[slack] <loki._.> aka, how to best fix JuliaPlots/Plots.jl#1859
BridgingBot
@GitterIRCbot
[slack] <daschw> JuliaPlots/Plots.jl#2178
[slack] <loki._.> 👍
BridgingBot
@GitterIRCbot
[slack] <PhilipVinc> is there a way to rescale all the fontsizes (legend, tickslabels, axislabels…) at once?
BridgingBot
@GitterIRCbot
[slack] <daschw> Maybe this can help:
BridgingBot
@GitterIRCbot

[slack] <loki._.> ```
julia> using Plots

julia> plot(x->sqrt(x),0,10)

julia> plot!(x->0,0,10)
```
gives some vertical space at the origin. Why is that?

BridgingBot
@GitterIRCbot
[slack] <mkborregaard> what do you mean?
[slack] <mkborregaard> I get this
[slack] <mkborregaard> Do you mean why is the origin not exactly at 0?
[slack] <mkborregaard> That’s because the default in Plots is to give a little space so the lines don’t overlap the axis. I believe that’s the default in most languages, though notably not in matplotlib
[slack] <mkborregaard> pass ylim if you want another behaviour
[slack] <ericphanson> I think he means that the lines don’t extend all the way to (0,0), not the position of the axes
[slack] <ericphanson> which is different than what you would get if you passed a 0:0.01:10 or something for the a x points
[slack] <mkborregaard> ah I see
[slack] <mkborregaard> yes, I think there’s an issue for that
BridgingBot
@GitterIRCbot
[slack] <mkborregaard> Yep, nice discussion here: JuliaPlots/PlotUtils.jl#63
[slack] <mkborregaard> would be good to fix
BridgingBot
@GitterIRCbot
[slack] <dalarev> Does heatmap interpolate by default? Bit tough to tell but there is some blur.
BridgingBot
@GitterIRCbot
[slack] <mkborregaard> no
BridgingBot
@GitterIRCbot
[slack] <yakir12> In regular plots, when I plot a line described by a bunch of xy coordinates, interpolating a straight line between those coordinates makes sense. A straight line between two subsequent coordinates is a real possibility. In a polar plot I feel this is not the case. A line between two subsequent coordinates can't be interpolated as a straight line because the coordinate system is not a Cartesian map, it is polar. It should be an arc instead of a straight line.
[slack] <yakir12> The straight lines in this plot are wrong in that exact sense. They "should" be arcs. Don't gte me wrong, I don't mean that the package I used to plot this is wrong somehow (in this case it was PGFPlotsX.jl). But I'm trying to raise this as a more general issue, in polar plots in general.
BridgingBot
@GitterIRCbot
[slack] <simon> i guess the problem usually is, that it doesn't actually do any interpolation 😉
BridgingBot
@GitterIRCbot
[slack] <yakir12> Technically, you are of course right. But for the Cartesian case, there is no difference in the resulting graphic had there been or not been a linear interpolation (assuming the plot is a line and not points).
[slack] <simon> One could also argue for the cartesian case, that just connecting dots with a straight line, "is the wrong interpolation"
BridgingBot
@GitterIRCbot
[slack] <loki._.> are keywords, that are not handled by Plots automatically passed to the backend?
BridgingBot
@GitterIRCbot
[slack] <mkborregaard> nope
[slack] <mkborregaard> Plots hides the backend interface. it’s either-or
[slack] <mkborregaard> but if you have a specific keyword that you think is missing and that can easily be shunted through to at least pyplot, gr and one other, it’s very easy to write a PR adding that keyword
[slack] <loki._.> hmm.. my target is a keyword, that only makes sense for tex-output
BridgingBot
@GitterIRCbot
[slack] <loki._.> what do you think about a keyword like backend_options to pass keywords to the backend?
BridgingBot
@GitterIRCbot
[slack] <daschw> I'm not sure that's that easy to implement for each backend, but if it works, sure, why not.
BridgingBot
@GitterIRCbot
[slack] <yakir12> Yes, there could be a situation where a linear interpolation is wrong for a Cartesian map. My argument though is that "the right thing to do" for a Cartesian map is most commonly a linear interpolation. The same interpolation however is most commonly wrong for a polar map. So while yes, I guess there could be cases where a linear interpolation is wrong for Cartesian and right for polar, those cases are equally rare. And thus it is downright silly to plot straight lines between discrete points in a polar plot, just as it is silly to assume that a user will want arcs between their Cartesian coordinates.
BridgingBot
@GitterIRCbot
[slack] <simon> True true
BridgingBot
@GitterIRCbot
[slack] <yakir12> Awesome. I'm glad we agree. OK, so just because you are @simon I'll suggest here (but can in an issue in AbstractPlotting) that Makie could be the first plotting package in the world (that I know of) to get this right...!