JuliaPy / JuliaPy/PyPlot.jl

3D plots not clipped at axis limits

未关闭
#70 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

Simple reproduce script:

``` julia
using PyPlot

# Create a figure with a 3D plot
subplot(111,projection="3d")

# Plot a curve
t = 0:.1:6pi
plot(cos(t),sin(t),t) # nice helix around z axis

# Restrict domain
xlim(0,1)
ylim(0,1)

# Domain for "backdrop is now restricted, but entire helix still drawn!
```

I don't know if this is a problem in `PyPlot.jl` or a more fundamental one in `matplotlib` - for some reason I can't get `matplotlib` working with 3d projections at all when running from plain python. If someone else can get that working, and verify that it's an issue with `matplotlib` rather than `PyPlot`, I'll file the issue there instead.

FWIW, I have `PyPlot` 1.2.9, `matplotlib` 1.3.1, running

```
julia> versioninfo()
Julia Version 0.3.0-rc1+27
Commit 9e5ffd6 (2014-07-15 08:13 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libopenlibm
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by running the Julia reproduction script with the reported PyPlot, matplotlib, and Julia versions, then compare the behavior with a plain Python 3D projection if possible. Trace whether axis-limit clipping is handled by PyPlot or matplotlib; done means determining the responsible project and confirming that the helix is clipped to the requested limits.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia, matplotlib, python
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。