Results 1 to 2 of 2

Thread: How to plot tan(x) curve?

  1. #1
    Join Date
    Sep 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default How to plot tan(x) curve?

    Hi, can you tell me the right way to plot y=tan(x) curve? (with gap)

  2. #2
    Join Date
    May 2009
    Location
    Vienna
    Posts
    91
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to plot tan(x) curve?

    Hello,

    take a look at:
    http://qwt.sourceforge.net/curvescreenshots.html

    and in the examples of qwt in the dir:
    qwt-5.2/examples

    e.g.: simple_plot is the example you re looking for. There is sin and cos, but you can easily adapt it to tangens.
    There's all you need

    greetz,
    AP.

Similar Threads

  1. Replies: 9
    Last Post: 12th May 2014, 01:25
  2. Replies: 0
    Last Post: 18th March 2010, 14:35
  3. Replies: 2
    Last Post: 8th January 2010, 14:09
  4. Best way in Qt to plot curve per real-time reading?
    By Sheng in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2009, 22:33
  5. Replies: 4
    Last Post: 9th January 2009, 11:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.