Giter Site home page Giter Site logo

Comments (2)

alexcjohnson avatar alexcjohnson commented on May 18, 2024

Certainly reasonable, though it may take a long time to get on our roadmap unless someone is willing to sponsor the work. Zoom and pan will also take some designing, so if you can recommend behavior you've seen in a different program and found nice (or even what NOT to do), that would be very helpful. For example:

  • Do we want to keep the plot area circular or when you zoom in would it expand to fill the rectangular domain? I guess based on analogy to polar and ternary probably we'd keep circular, is that reasonable? What then would the zoom interaction look like? Perhaps you click-drag and the start and end of the drag form the diameter of a circle, which becomes the new view? This I guess is the closest analog of cartesian, where the start and end of the drag are the corners of a rectangle that becomes the new view.
  • How do you specify the view when zoomed/panned? xcenter, ycenter, and radius? realaxis.center, imaginaryaxis.center, and radius? Something else? Presumably mostly this would be determined by the GUI so you wouldn't need to calculate them yourself, but not always so we should find a way to describe the view that's meaningful to the chart creator.
  • In the current implementation, tickvals are hardcoded for both coordinates. If you gain the ability to pan and zoom you'll probably also want automatic ticks of some sort, such that to get back the current default behavior you'd say something like nticks=5 and we'd automatically choose these ticks for full range view, but as you zoom in we'd choose different values, and it's not exactly obvious how to do this. In general I guess we wouldn't even be able to put the real labels across the center and the imaginary labels around the edge, depending on exactly where you've zoomed into.

from plotly.js.

SeansHuang avatar SeansHuang commented on May 18, 2024

@alexcjohnson Hello , May I ask if Smith chart supports admittance traces? Like this:

1704965317283

from plotly.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.