wxwidgets commit 0bf38e1 x04 y axis label is good (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)

wxwidgets commit 49000def x04 y axis label is false (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)



Le 28/12/2016 à 22:28, Laurent Berger a écrit :

With your last message I have found  a way to solve problem

cd wxWiget-3.1.0git checkout cbb799b
Checking out files: 100% (1470/1470), done.
Note: checking out 'cbb799b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at cbb799b... Updates for 3.1.0 release

Build wxwidgets and build plplot and y axis label is good now.

Now I think if you update your git wxwidgest repository you will able to see bad y label


Le 28/12/2016 à 20:11, p.d.rosenb...@gmail.com a écrit :

Thanks Laurent

You are a few commits ahead of me I think so I'll update, just in case it makes a difference. I use 64 bit, which I think is the same as you. Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll check.

Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 10:21
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>; Pedro Vicente <mailto:pedro.vice...@space-research.org>
*Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

git log

commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net> <mailto:air...@users.sourceforge.net>
Date:   Sat Dec 24 14:32:48 2016 -0800

    Apply spell checker to release notes

I have got a dual screen. I have check example on my laptop and problem exist too. Do you use 32 bit or 64 bits libs?

Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com> a écrit :

    Hi Laurent

    This is very strange. I see that y axis titles are rotated 180,
    and the line label is rotated 90 degrees.

    In fact it looks to me like the y axis coordinate has been
    reversed for text direction. I have just tested my system which
    is using commit 65e7b3c99809... Fix bug with plotting in
    wxPLplotDemo and I don't see the issue. I'm not online right now
    (emailing from phone) to get latest master, but could you do a
    git log and let me know which commit you are at?

    Also is there anything unusual about your screen setup that may
    affect the usual y direction orientation or anything similar that
    you can think of?

    Phil

    Sent from my Windows 10 phone

    *From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
    *Sent: *28 December 2016 01:07
    *To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>;
    Pedro Vicente <mailto:pedro.vice...@space-research.org>
    *Cc: *PLplot development list
    <mailto:plplot-devel@lists.sourceforge.net>
    *Subject: *Re: [Plplot-devel] legend and label using wxWidgets

    Hi phil

    I have already check it :

    I have clean only wxPlLiewer and run x04 (click on x04) in cmd
    window I have :


    Plotting Options:
     < 1> ps         PostScript File (monochrome)
     < 2> psc        PostScript File (color)
     < 3> xfig       Xfig file
     < 4> null       Null device
     < 5> mem        User-supplied memory device
     < 6> wxwidgets  wxWidgets DC
     < 7> svg        Scalable Vector Graphics (SVG 1.1)

    Enter device number or keyword (stream 1): 6
    wxPLDevice::SetupMemoryMap: nTries = 0, mapName =
    plplotMemoryMapGTSRRSLXRW
    wxPLDevice::SetupMemoryMap: nTries = 0, mutexName =
    plplotMemoryMapGTSRRSLXRWmut

    *** PLPLOT WARNING ***
    Failed to run wxPLViewer - no plots will be shown

    *** PLPLOT WARNING ***
    wxPLViewer failed to signal it has found the shared memory.
    plGetName: Maximum length of full pathname of file to be found is 39
    plGetName: Full pathname of file to be found is
    F:/Meteo/plplot\data\plxtnd5.fnt
    plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt

    Now I build wxPLviewer and run x04 (click )


    cid:part1.C1B7F496.CFBC2D4D@univ-lemans.fr

    now wxplotdemo x axis label is wrong too

    cid:part2.D22974EA.D7519C63@univ-lemans.fr



    Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com
    <mailto:p.d.rosenb...@gmail.com> a écrit :

        Hi Laurent

        I know you have said you have cleaned and you have rebuilt.
        However, there may be a build tree dependency issue catching
        us out. Can you ensure you specifically rebuild the
        wxPlviewer project by right clicking it and selecting build
        in visual studio? If you just right click an example and
        click build or debug then this project doesn't get
        built/rebuilt. This means in a previously used build tree you
        may be using a stale wxplviewer executable or in a fresh tree
        you may end up using the wxplviewer from your last build of
        the INSTALL project as a local version may not be found.

        Alan – I have mentioned this before. What is needed is for
        all examples to depend upon the wxPLViewer executable, which
        in turn depends upon plplot and the wxWidgets driver, so that
        if changes are made to plplot or the driver then building of
        an example triggers a rebuild of wxPLViewer.

        Phil

        Sent from my Windows 10 phone

        *From: *Pedro Vicente <mailto:pedro.vice...@space-research.org>
        *Sent: *27 December 2016 22:13
        *To: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
        *Cc: *PLplot development list
        <mailto:plplot-devel@lists.sourceforge.net>
        *Subject: *Re: [Plplot-devel] legend and label using wxWidgets

        I am using wxwidgets 3.1 built with Visual Studio 2015 and
        plplot from the

        master branch

        and using cmake with

        cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON

        -DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"

        -DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF

        -DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON

        -DwxWidgets_ROOT_DIR:PATH=%WXWIN%

        -DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib

        -DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON

        -DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF

        ----- Original Message -----

        From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
        <mailto:laurent.ber...@univ-lemans.fr>

        To: "Pedro Vicente" <pedro.vice...@space-research.org>
        <mailto:pedro.vice...@space-research.org>

        Cc: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>
        <mailto:ir...@beluga.phys.uvic.ca>; "PLplot development list"

        <plplot-devel@lists.sourceforge.net>
        <mailto:plplot-devel@lists.sourceforge.net>

        Sent: Tuesday, December 27, 2016 4:32 PM

        Subject: Re: [Plplot-devel] legend and label using wxWidgets

        > Which version of wxwidgets do you use (can you give last commit
        using git

        > log)?

        >

        >

        > Le 27/12/2016 à 22:29, Pedro Vicente a écrit :

        >>> error is still here. Now what patch should I apply?

        >>

        >> there is no patch for the scale issue.

        >> the patch I send previously on the subject "Using wxWidgets"
        is for the

        >> issue regarding the use

        >> of templates. To test that, add and replace the 2 attached
        files on that

        >> email to the master you just did the clone,

        >> and report here if you have any errors on the master, or in
        your code

        >> that uses it, please.

        >>

        >> regarding the scale issue, what compiler and cmake command
        are you using?

        >> is it Visual Studio 2015 build 64bits, doing

        >> cmake .. -G "Visual Studio 14 win64" ?

        >>

        >>

        >>

        >>

        >> On 2016-12-27 16:04, Laurent Berger wrote:

        >>> I always clean my build repo and my cmake cache. Now to be
        sure I

        >>> have just clone plplot in another folder :

        >>>

        >>>

        >>> $ git clone git://git.code.sf.net/p/plplot/plplot

        >>> Cloning into 'plplot'...

        >>> remote: Counting objects: 91527, done.

        >>> remote: Compressing objects: 100% (29963/29963), done.

        >>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)

        >>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00
        KiB/s, done.

        >>> Resolving deltas: 100% (68265/68265), done.

        >>> Checking connectivity... done.

        >>> Checking out files: 100% (1962/1962), done.

        >>>

        >>> Laurent@PC-Laurent-Vision MINGW64 /f/met

        >>> $ cd plplot

        >>>

        >>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)

        >>> $ git log

        >>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578

        >>> Author: Alan W. Irwin <air...@users.sourceforge.net>
        <mailto:air...@users.sourceforge.net>

        >>> Date:   Sat Dec 24 14:32:48 2016 -0800

        >>>

        >>>Apply spell checker to release notes

        >>>

        >>> build plplot in static using wxwidgets 3.1.0 :

        >>>

        >>>git log    (wxWidgets 3.1.0)

        >>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6

        >>> Author: Paul Cornett <paul...@users.noreply.github.com>
        <mailto:paul...@users.noreply.github.com>

        >>> Date:   Wed Nov 9 20:06:26 2016 -0800

        >>>

        >>>Fix non-default window background color with GTK+ >= 3.20

        >>>

        >>>GTK+ no longer automatically paints non-default window

        >>> background. See #17586

        >>>

        >>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292

        >>>

        >>> error is still here. Now what patch should I apply?

        >>>

        >>>

        >>>

        >>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :

        >>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote:

        >>>>

        >>>>> ah, yes, that's right "Visual Studio 14" only  is for 32 bits

        >>>>>

        >>>>> I did not try with 64 bits libs

        >>>>

        >>>> @Laurent:

        >>>>

        >>>> Just to interject here, before getting too deeply into
        64-bit versus

        >>>> 32-bit Windows differences between Pedro and you, it is
        important you

        >>>> answer our question whether the text issues you see are due
        to stale

        >>>> results left over from your previous builds.  So please make a

        >>>> completely fresh build and let us know whether those text issues

        >>>> persist for that fresh build.

        >>>>

        >>>> Alan

        >>>>

        >>>> __________________________

        >>>> Alan W. Irwin

        >>>>

        >>>> Astronomical research affiliation with Department of Physics
        and

        >>>> Astronomy,

        >>>> University of Victoria (astrowww.phys.uvic.ca).

        >>>>

        >>>> Programming affiliations with the FreeEOS equation-of-state

        >>>> implementation for stellar interiors (freeeos.sf.net); the Time

        >>>> Ephemerides project (timeephem.sf.net); PLplot scientific
        plotting

        >>>> software package (plplot.sf.net); the libLASi project

        >>>> (unifont.org/lasi); the Loads of Linux Links project
        (loll.sf.net);

        >>>> and the Linux Brochure Project (lbproject.sf.net).

        >>>> __________________________

        >>>>

        >>>> Linux-powered Science

        >>>> __________________________

        >>

        >

        
------------------------------------------------------------------------------

        Check out the vibrant tech community on one of the world's most

        engaging tech sites, SlashDot.org! http://sdm.link/slashdot

        _______________________________________________

        Plplot-devel mailing list

        Plplot-devel@lists.sourceforge.net
        <mailto:Plplot-devel@lists.sourceforge.net>

        https://lists.sourceforge.net/lists/listinfo/plplot-devel




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to