GraphicsGrid with a Label for each Column and RowPutting a vertical line in each Histogram using GraphicsGridComposite graphics with Row, Column, data aggregation and layout controlControl objects Sizing and placement in Graphicsgrid Vs Grid:Label each panel of GridCombining ArrayPlot and PlotGraphicsGrid Format Problem with SpanFromAboveConstructing a grid from a matrixHow to solve for the intersection points of two ellipses?How to use GraphicsGrid with ListPlots that have a PlotLegend?Rotated Row and Normal Column Headings for a GridPutting a vertical line in each Histogram using GraphicsGrid

What should you do if you miss a job interview (deliberately)?

Redundant comparison & "if" before assignment

Has any country ever had 2 former presidents in jail simultaneously?

Aragorn's "guise" in the Orthanc Stone

A social experiment. What is the worst that can happen?

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?

Count the occurrence of each unique word in the file

Why can Carol Danvers change her suit colours in the first place?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Are the IPv6 address space and IPv4 address space completely disjoint?

When were female captains banned from Starfleet?

C++ debug/print custom type with GDB : the case of nlohmann json library

Is it better practice to read straight from sheet music rather than memorize it?

How could a planet have erratic days?

What should you do when eye contact makes your subordinate uncomfortable?

Why did the EU agree to delay the Brexit deadline?

Why should universal income be universal?

How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?

How can "mimic phobia" be cured or prevented?

Multiplicative persistence

GraphicsGrid with a Label for each Column and Row

How should I respond when I lied about my education and the company finds out through background check?

Intuition of generalized eigenvector.

How do you make your own symbol when Detexify fails?



GraphicsGrid with a Label for each Column and Row


Putting a vertical line in each Histogram using GraphicsGridComposite graphics with Row, Column, data aggregation and layout controlControl objects Sizing and placement in Graphicsgrid Vs Grid:Label each panel of GridCombining ArrayPlot and PlotGraphicsGrid Format Problem with SpanFromAboveConstructing a grid from a matrixHow to solve for the intersection points of two ellipses?How to use GraphicsGrid with ListPlots that have a PlotLegend?Rotated Row and Normal Column Headings for a GridPutting a vertical line in each Histogram using GraphicsGrid













3












$begingroup$


Is it possible to use GraphicsGrid and do something like this?



$beginarraycccc
textX & Label1 & Label2& Label3\
Label4 & Plot1 & Plot2&Plot3\
Label5 & Plot4 & Plot5&Plot6\
Label6 & Plot7 & Plot8&Plot9\
endarray $










share|improve this question









$endgroup$
















    3












    $begingroup$


    Is it possible to use GraphicsGrid and do something like this?



    $beginarraycccc
    textX & Label1 & Label2& Label3\
    Label4 & Plot1 & Plot2&Plot3\
    Label5 & Plot4 & Plot5&Plot6\
    Label6 & Plot7 & Plot8&Plot9\
    endarray $










    share|improve this question









    $endgroup$














      3












      3








      3





      $begingroup$


      Is it possible to use GraphicsGrid and do something like this?



      $beginarraycccc
      textX & Label1 & Label2& Label3\
      Label4 & Plot1 & Plot2&Plot3\
      Label5 & Plot4 & Plot5&Plot6\
      Label6 & Plot7 & Plot8&Plot9\
      endarray $










      share|improve this question









      $endgroup$




      Is it possible to use GraphicsGrid and do something like this?



      $beginarraycccc
      textX & Label1 & Label2& Label3\
      Label4 & Plot1 & Plot2&Plot3\
      Label5 & Plot4 & Plot5&Plot6\
      Label6 & Plot7 & Plot8&Plot9\
      endarray $







      graphics visualization






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 4 hours ago









      An old man in the sea.An old man in the sea.

      1,084919




      1,084919




















          3 Answers
          3






          active

          oldest

          votes


















          3












          $begingroup$

          If you are willing to forego GraphicsGrid and give up some control over the placement of the decorations, it can be as simple as this:



          Make a 3 x 3 array of graphics (this is adopted from a previous answer}



          circles[n_] :=
          Module[r, cntr, r := RandomReal[.25];
          cntr := RandomReal[1, 2];
          Graphics[
          Table[EdgeForm[Black], Hue[RandomReal[]], Disk[cntr, r], n],
          PlotRange -> 0, 1, 0, 1, PlotRangeClipping -> True,
          Frame -> True]

          lines[] :=
          Module[lf, rt,
          lf := With[x = RandomReal[.48], Red, Line[x, 0, x, 1]];
          rt := With[x = RandomReal[.52, 1], Blue,
          Line[x, 0, x, 1]];
          Graphics[lf, rt, PlotRange -> 0, 1, 0, 1,
          PlotRangeClipping -> True, Frame -> True]]

          SeedRandom[4];
          graphics =
          Apply[Show,
          Partition[Transpose[Table[circles[8], 9], Table[lines[], 9]],
          3], 2];


          Make the headers:



          colHeaders, rowHeaders = Partition[Table[Style[Row["Label", i], "TBI"], i, 6], 3];


          Make the grid with TableForm:



          TableForm[graphics, TableHeadings -> rowHeaders, colHeaders]


          grid






          share|improve this answer









          $endgroup$




















            2












            $begingroup$

            Here is an option:



            plots = Table[Table[Plot[Sin[i x + j], x, 1, 10], i, 3], j, 3];
            xlabels = "", "Label 1", "Label 2", "Label 3";
            ylabels = "Label 4", "Label 5", "Label 6";
            GraphicsGrid[Join[xlabels, Transpose[Join[ylabels, Transpose[plots]]]]]


            enter image description here






            share|improve this answer









            $endgroup$




















              2












              $begingroup$

              You could construct Graphics for the row and column headings. Something like this. Would have to adjust the vertical / horizontal placement of the label text.



              plotGrid = Table[Plot[Sin[x], x, 0, 2 Pi], 2, 2];

              plotRowHeader =
              Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 2];

              plotColumnHeader =
              Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 3,
              4] // Prepend[Graphics[Style[Text["X"], 12]]];

              graphicsGrid =
              plotGrid // Prepend[plotRowHeader] // Transpose //
              Prepend[plotColumnHeader];

              GraphicsGrid[graphicsGrid]


              enter image description here






              share|improve this answer









              $endgroup$












                Your Answer





                StackExchange.ifUsing("editor", function ()
                return StackExchange.using("mathjaxEditing", function ()
                StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
                StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
                );
                );
                , "mathjax-editing");

                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "387"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f193846%2fgraphicsgrid-with-a-label-for-each-column-and-row%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                3












                $begingroup$

                If you are willing to forego GraphicsGrid and give up some control over the placement of the decorations, it can be as simple as this:



                Make a 3 x 3 array of graphics (this is adopted from a previous answer}



                circles[n_] :=
                Module[r, cntr, r := RandomReal[.25];
                cntr := RandomReal[1, 2];
                Graphics[
                Table[EdgeForm[Black], Hue[RandomReal[]], Disk[cntr, r], n],
                PlotRange -> 0, 1, 0, 1, PlotRangeClipping -> True,
                Frame -> True]

                lines[] :=
                Module[lf, rt,
                lf := With[x = RandomReal[.48], Red, Line[x, 0, x, 1]];
                rt := With[x = RandomReal[.52, 1], Blue,
                Line[x, 0, x, 1]];
                Graphics[lf, rt, PlotRange -> 0, 1, 0, 1,
                PlotRangeClipping -> True, Frame -> True]]

                SeedRandom[4];
                graphics =
                Apply[Show,
                Partition[Transpose[Table[circles[8], 9], Table[lines[], 9]],
                3], 2];


                Make the headers:



                colHeaders, rowHeaders = Partition[Table[Style[Row["Label", i], "TBI"], i, 6], 3];


                Make the grid with TableForm:



                TableForm[graphics, TableHeadings -> rowHeaders, colHeaders]


                grid






                share|improve this answer









                $endgroup$

















                  3












                  $begingroup$

                  If you are willing to forego GraphicsGrid and give up some control over the placement of the decorations, it can be as simple as this:



                  Make a 3 x 3 array of graphics (this is adopted from a previous answer}



                  circles[n_] :=
                  Module[r, cntr, r := RandomReal[.25];
                  cntr := RandomReal[1, 2];
                  Graphics[
                  Table[EdgeForm[Black], Hue[RandomReal[]], Disk[cntr, r], n],
                  PlotRange -> 0, 1, 0, 1, PlotRangeClipping -> True,
                  Frame -> True]

                  lines[] :=
                  Module[lf, rt,
                  lf := With[x = RandomReal[.48], Red, Line[x, 0, x, 1]];
                  rt := With[x = RandomReal[.52, 1], Blue,
                  Line[x, 0, x, 1]];
                  Graphics[lf, rt, PlotRange -> 0, 1, 0, 1,
                  PlotRangeClipping -> True, Frame -> True]]

                  SeedRandom[4];
                  graphics =
                  Apply[Show,
                  Partition[Transpose[Table[circles[8], 9], Table[lines[], 9]],
                  3], 2];


                  Make the headers:



                  colHeaders, rowHeaders = Partition[Table[Style[Row["Label", i], "TBI"], i, 6], 3];


                  Make the grid with TableForm:



                  TableForm[graphics, TableHeadings -> rowHeaders, colHeaders]


                  grid






                  share|improve this answer









                  $endgroup$















                    3












                    3








                    3





                    $begingroup$

                    If you are willing to forego GraphicsGrid and give up some control over the placement of the decorations, it can be as simple as this:



                    Make a 3 x 3 array of graphics (this is adopted from a previous answer}



                    circles[n_] :=
                    Module[r, cntr, r := RandomReal[.25];
                    cntr := RandomReal[1, 2];
                    Graphics[
                    Table[EdgeForm[Black], Hue[RandomReal[]], Disk[cntr, r], n],
                    PlotRange -> 0, 1, 0, 1, PlotRangeClipping -> True,
                    Frame -> True]

                    lines[] :=
                    Module[lf, rt,
                    lf := With[x = RandomReal[.48], Red, Line[x, 0, x, 1]];
                    rt := With[x = RandomReal[.52, 1], Blue,
                    Line[x, 0, x, 1]];
                    Graphics[lf, rt, PlotRange -> 0, 1, 0, 1,
                    PlotRangeClipping -> True, Frame -> True]]

                    SeedRandom[4];
                    graphics =
                    Apply[Show,
                    Partition[Transpose[Table[circles[8], 9], Table[lines[], 9]],
                    3], 2];


                    Make the headers:



                    colHeaders, rowHeaders = Partition[Table[Style[Row["Label", i], "TBI"], i, 6], 3];


                    Make the grid with TableForm:



                    TableForm[graphics, TableHeadings -> rowHeaders, colHeaders]


                    grid






                    share|improve this answer









                    $endgroup$



                    If you are willing to forego GraphicsGrid and give up some control over the placement of the decorations, it can be as simple as this:



                    Make a 3 x 3 array of graphics (this is adopted from a previous answer}



                    circles[n_] :=
                    Module[r, cntr, r := RandomReal[.25];
                    cntr := RandomReal[1, 2];
                    Graphics[
                    Table[EdgeForm[Black], Hue[RandomReal[]], Disk[cntr, r], n],
                    PlotRange -> 0, 1, 0, 1, PlotRangeClipping -> True,
                    Frame -> True]

                    lines[] :=
                    Module[lf, rt,
                    lf := With[x = RandomReal[.48], Red, Line[x, 0, x, 1]];
                    rt := With[x = RandomReal[.52, 1], Blue,
                    Line[x, 0, x, 1]];
                    Graphics[lf, rt, PlotRange -> 0, 1, 0, 1,
                    PlotRangeClipping -> True, Frame -> True]]

                    SeedRandom[4];
                    graphics =
                    Apply[Show,
                    Partition[Transpose[Table[circles[8], 9], Table[lines[], 9]],
                    3], 2];


                    Make the headers:



                    colHeaders, rowHeaders = Partition[Table[Style[Row["Label", i], "TBI"], i, 6], 3];


                    Make the grid with TableForm:



                    TableForm[graphics, TableHeadings -> rowHeaders, colHeaders]


                    grid







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 38 mins ago









                    m_goldbergm_goldberg

                    87.7k872198




                    87.7k872198





















                        2












                        $begingroup$

                        Here is an option:



                        plots = Table[Table[Plot[Sin[i x + j], x, 1, 10], i, 3], j, 3];
                        xlabels = "", "Label 1", "Label 2", "Label 3";
                        ylabels = "Label 4", "Label 5", "Label 6";
                        GraphicsGrid[Join[xlabels, Transpose[Join[ylabels, Transpose[plots]]]]]


                        enter image description here






                        share|improve this answer









                        $endgroup$

















                          2












                          $begingroup$

                          Here is an option:



                          plots = Table[Table[Plot[Sin[i x + j], x, 1, 10], i, 3], j, 3];
                          xlabels = "", "Label 1", "Label 2", "Label 3";
                          ylabels = "Label 4", "Label 5", "Label 6";
                          GraphicsGrid[Join[xlabels, Transpose[Join[ylabels, Transpose[plots]]]]]


                          enter image description here






                          share|improve this answer









                          $endgroup$















                            2












                            2








                            2





                            $begingroup$

                            Here is an option:



                            plots = Table[Table[Plot[Sin[i x + j], x, 1, 10], i, 3], j, 3];
                            xlabels = "", "Label 1", "Label 2", "Label 3";
                            ylabels = "Label 4", "Label 5", "Label 6";
                            GraphicsGrid[Join[xlabels, Transpose[Join[ylabels, Transpose[plots]]]]]


                            enter image description here






                            share|improve this answer









                            $endgroup$



                            Here is an option:



                            plots = Table[Table[Plot[Sin[i x + j], x, 1, 10], i, 3], j, 3];
                            xlabels = "", "Label 1", "Label 2", "Label 3";
                            ylabels = "Label 4", "Label 5", "Label 6";
                            GraphicsGrid[Join[xlabels, Transpose[Join[ylabels, Transpose[plots]]]]]


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 3 hours ago









                            MelaGoMelaGo

                            4963




                            4963





















                                2












                                $begingroup$

                                You could construct Graphics for the row and column headings. Something like this. Would have to adjust the vertical / horizontal placement of the label text.



                                plotGrid = Table[Plot[Sin[x], x, 0, 2 Pi], 2, 2];

                                plotRowHeader =
                                Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 2];

                                plotColumnHeader =
                                Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 3,
                                4] // Prepend[Graphics[Style[Text["X"], 12]]];

                                graphicsGrid =
                                plotGrid // Prepend[plotRowHeader] // Transpose //
                                Prepend[plotColumnHeader];

                                GraphicsGrid[graphicsGrid]


                                enter image description here






                                share|improve this answer









                                $endgroup$

















                                  2












                                  $begingroup$

                                  You could construct Graphics for the row and column headings. Something like this. Would have to adjust the vertical / horizontal placement of the label text.



                                  plotGrid = Table[Plot[Sin[x], x, 0, 2 Pi], 2, 2];

                                  plotRowHeader =
                                  Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 2];

                                  plotColumnHeader =
                                  Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 3,
                                  4] // Prepend[Graphics[Style[Text["X"], 12]]];

                                  graphicsGrid =
                                  plotGrid // Prepend[plotRowHeader] // Transpose //
                                  Prepend[plotColumnHeader];

                                  GraphicsGrid[graphicsGrid]


                                  enter image description here






                                  share|improve this answer









                                  $endgroup$















                                    2












                                    2








                                    2





                                    $begingroup$

                                    You could construct Graphics for the row and column headings. Something like this. Would have to adjust the vertical / horizontal placement of the label text.



                                    plotGrid = Table[Plot[Sin[x], x, 0, 2 Pi], 2, 2];

                                    plotRowHeader =
                                    Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 2];

                                    plotColumnHeader =
                                    Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 3,
                                    4] // Prepend[Graphics[Style[Text["X"], 12]]];

                                    graphicsGrid =
                                    plotGrid // Prepend[plotRowHeader] // Transpose //
                                    Prepend[plotColumnHeader];

                                    GraphicsGrid[graphicsGrid]


                                    enter image description here






                                    share|improve this answer









                                    $endgroup$



                                    You could construct Graphics for the row and column headings. Something like this. Would have to adjust the vertical / horizontal placement of the label text.



                                    plotGrid = Table[Plot[Sin[x], x, 0, 2 Pi], 2, 2];

                                    plotRowHeader =
                                    Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 2];

                                    plotColumnHeader =
                                    Table[Graphics[Style[Text["Label " <> ToString[i]], 12]], i, 3,
                                    4] // Prepend[Graphics[Style[Text["X"], 12]]];

                                    graphicsGrid =
                                    plotGrid // Prepend[plotRowHeader] // Transpose //
                                    Prepend[plotColumnHeader];

                                    GraphicsGrid[graphicsGrid]


                                    enter image description here







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 3 hours ago









                                    Rohit NamjoshiRohit Namjoshi

                                    1,4921213




                                    1,4921213



























                                        draft saved

                                        draft discarded
















































                                        Thanks for contributing an answer to Mathematica Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid


                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.

                                        Use MathJax to format equations. MathJax reference.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f193846%2fgraphicsgrid-with-a-label-for-each-column-and-row%23new-answer', 'question_page');

                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

                                        Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                                        How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2